summaryrefslogtreecommitdiffstats
path: root/usr.sbin/kvm_mkdb/nlist.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>1998-10-28 23:20:01 +0000
committermillert <millert@openbsd.org>1998-10-28 23:20:01 +0000
commitc493200cd58c61df07f6b8b13340526352c6b388 (patch)
tree10431206cd02a54ac13eff625414cf1f04480ee4 /usr.sbin/kvm_mkdb/nlist.c
parent- fix three bugs pointed out in Stevens, i.a. updating timestamps correctly (diff)
downloadwireguard-openbsd-c493200cd58c61df07f6b8b13340526352c6b388.tar.xz
wireguard-openbsd-c493200cd58c61df07f6b8b13340526352c6b388.zip
uninitialized variable; hgweigand@wiesbaden.netsurf.de
Diffstat (limited to 'usr.sbin/kvm_mkdb/nlist.c')
-rw-r--r--usr.sbin/kvm_mkdb/nlist.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/kvm_mkdb/nlist.c b/usr.sbin/kvm_mkdb/nlist.c
index 2c96b999938..46f43c3274b 100644
--- a/usr.sbin/kvm_mkdb/nlist.c
+++ b/usr.sbin/kvm_mkdb/nlist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nlist.c,v 1.14 1998/09/26 07:16:23 millert Exp $ */
+/* $OpenBSD: nlist.c,v 1.15 1998/10/28 23:20:01 millert Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "from: @(#)nlist.c 8.1 (Berkeley) 6/6/93";
#else
-static char *rcsid = "$OpenBSD: nlist.c,v 1.14 1998/09/26 07:16:23 millert Exp $";
+static char *rcsid = "$OpenBSD: nlist.c,v 1.15 1998/10/28 23:20:01 millert Exp $";
#endif
#endif /* not lint */
@@ -96,7 +96,7 @@ __aout_knlist(fd, db)
int nr, strsize;
size_t len;
u_long kerntextoff;
- size_t snamesize;
+ size_t snamesize = 0;
char *strtab, buf[1024], *sname, *p;
/* Read in exec structure. */