summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-10-28 23:20:02 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-10-28 23:20:02 +0000
commit44e858b77fc4743044078bc7c467425ffad8846f (patch)
tree46f77dbe48debf9b637a1b1203b866d1af40e7c1
parent792af5bc72dfcc97240f6e5cfb7f8e01b291da2f (diff)
uninitialized variable; hgweigand@wiesbaden.netsurf.de
-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. */