From: miod Date: Mon, 19 Jan 2015 20:25:36 +0000 (+0000) Subject: Missing initialization; tjenahej@speedmail.se X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2b8e2220cd9d8f5e3c015956007eba9b46623094;p=openbsd Missing initialization; tjenahej@speedmail.se --- 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) {