summaryrefslogtreecommitdiff
path: root/usr.bin/nm
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-11-22 10:40:40 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-11-22 10:40:40 +0000
commit43e2659d7615d40beaa2451183440ed56645b410 (patch)
tree9e6cc3239e39d92b03dad81735c195ec579c2185 /usr.bin/nm
parentb7f7c98190fe06cffaaf70bc37ee2fd470a7b0c6 (diff)
fix typo; from Kris Katterjohn
Diffstat (limited to 'usr.bin/nm')
-rw-r--r--usr.bin/nm/elf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/nm/elf.c b/usr.bin/nm/elf.c
index 4d386011898..5aeef7a01a7 100644
--- a/usr.bin/nm/elf.c
+++ b/usr.bin/nm/elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf.c,v 1.37 2018/12/14 19:56:02 guenther Exp $ */
+/* $OpenBSD: elf.c,v 1.38 2020/11/22 10:40:39 jsg Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -518,7 +518,7 @@ elf_symload(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh,
}
if ((shstr = malloc(shstrsize)) == NULL) {
- warn("%s: malloc shsrt", name);
+ warn("%s: malloc shstr", name);
return (1);
}