diff options
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/pmdb/elf_syms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pmdb/elf_syms.c b/usr.bin/pmdb/elf_syms.c index 720bad1cdcd..57cc27222ea 100644 --- a/usr.bin/pmdb/elf_syms.c +++ b/usr.bin/pmdb/elf_syms.c @@ -1,4 +1,4 @@ -/* $OpenBSD: elf_syms.c,v 1.8 2003/03/28 23:33:27 mickey Exp $ */ +/* $OpenBSD: elf_syms.c,v 1.9 2007/07/24 21:08:49 deraadt Exp $ */ /* * Copyright (c) 2002 Artur Grabowski <art@openbsd.org> * All rights reserved. @@ -268,7 +268,7 @@ int elf_lookup(struct pstate *ps, const char *name, reg *res) { struct sym_table *st; - Elf_Sym *s; + Elf_Sym *s = NULL; TAILQ_FOREACH(st, &ps->ps_syms, st_list) { if ((s = elf_lookup_table(ST_TO_ESH(st), name)) != NULL) |