summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2020-11-22 10:40:39 +0000
committerjsg <jsg@openbsd.org>2020-11-22 10:40:39 +0000
commit93722fe6b57340cb42869e077e928b0e36673c6d (patch)
tree177f7dfe78d4efd12b1d992fed9019bf18e78d62
parentNo need to update ifi->state just before setting quit to TERMINATE. (diff)
downloadwireguard-openbsd-93722fe6b57340cb42869e077e928b0e36673c6d.tar.xz
wireguard-openbsd-93722fe6b57340cb42869e077e928b0e36673c6d.zip
fix typo; from Kris Katterjohn
-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);
}