summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2015-01-19 20:25:37 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2015-01-19 20:25:37 +0000
commit9814a5d8cd30b72b3a5df4ba216a7e5974bd04b6 (patch)
tree67249b672cdb353ca525735f7dd7789f75c513fc
parent65c6b6b85afa4220f25fa6ddc97a7cc9cbac9f93 (diff)
Missing initialization; tjenahej@speedmail.se
-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 74b3bd35979..f2ab39d63fd 100644
--- a/usr.bin/nm/elf.c
+++ b/usr.bin/nm/elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: elf.c,v 1.24 2015/01/16 06:40:10 deraadt Exp $ */
+/* $OpenBSD: elf.c,v 1.25 2015/01/19 20:25:36 miod Exp $ */
/*
* Copyright (c) 2003 Michael Shalayeff
@@ -550,7 +550,7 @@ elf_symload(const char *name, FILE *fp, off_t foff, Elf_Ehdr *eh,
}
stab = NULL;
- *pnames = NULL; *psnames = NULL;
+ *pnames = NULL; *psnames = NULL; *pnrawnames = 0;
elf_symloadx(name, fp, foff, eh, shdr, shstr, pnames,
psnames, pstabsize, pnrawnames, ELF_STRTAB, ELF_SYMTAB);
if (stab == NULL) {