From 2b8e2220cd9d8f5e3c015956007eba9b46623094 Mon Sep 17 00:00:00 2001 From: miod Date: Mon, 19 Jan 2015 20:25:36 +0000 Subject: [PATCH] Missing initialization; tjenahej@speedmail.se --- usr.bin/nm/elf.c | 4 ++-- 1 file 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) { -- 2.20.1