I spotted a little typo in an nm(1) error message.

Kris Katterjohn


Index: elf.c
===================================================================
RCS file: /cvs/src/usr.bin/nm/elf.c,v
retrieving revision 1.37
diff -u -p -r1.37 elf.c
--- elf.c       14 Dec 2018 19:56:02 -0000      1.37
+++ elf.c       20 Nov 2020 16:55:30 -0000
@@ -518,7 +518,7 @@ elf_symload(const char *name, FILE *fp, 
        }
 
        if ((shstr = malloc(shstrsize)) == NULL) {
-               warn("%s: malloc shsrt", name);
+               warn("%s: malloc shstr", name);
                return (1);
        }
 

Reply via email to