Re: nm(1): fix error message typo

2020-11-22 Thread Jonathan Gray
On Fri, Nov 20, 2020 at 12:08:55PM -0500, Kris Katterjohn wrote:
> I spotted a little typo in an nm(1) error message.
> 
> Kris Katterjohn
> 

thanks, committed

> 
> 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 -  1.37
> +++ elf.c 20 Nov 2020 16:55:30 -
> @@ -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);
>   }
>  
> 
> 



nm(1): fix error message typo

2020-11-20 Thread Kris Katterjohn
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 -  1.37
+++ elf.c   20 Nov 2020 16:55:30 -
@@ -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);
}