Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libkvm Add forgotten initialization.



details:   https://anonhg.NetBSD.org/src/rev/dc37f294921f
branches:  trunk
changeset: 499299:dc37f294921f
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Nov 16 08:57:15 2000 +0000

description:
Add forgotten initialization.
Fixed PR#11446.

diffstat:

 lib/libkvm/kvm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 5d73cd04d486 -r dc37f294921f lib/libkvm/kvm.c
--- a/lib/libkvm/kvm.c  Thu Nov 16 08:33:33 2000 +0000
+++ b/lib/libkvm/kvm.c  Thu Nov 16 08:57:15 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kvm.c,v 1.68 2000/10/04 16:11:27 sommerfeld Exp $      */
+/*     $NetBSD: kvm.c,v 1.69 2000/11/16 08:57:15 msaitoh Exp $ */
 
 /*-
  * Copyright (c) 1989, 1992, 1993
@@ -42,7 +42,7 @@
 #if 0
 static char sccsid[] = "@(#)kvm.c      8.2 (Berkeley) 2/13/94";
 #else
-__RCSID("$NetBSD: kvm.c,v 1.68 2000/10/04 16:11:27 sommerfeld Exp $");
+__RCSID("$NetBSD: kvm.c,v 1.69 2000/11/16 08:57:15 msaitoh Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -240,6 +240,7 @@
        kd->nbpg = getpagesize();
        kd->swapspc = 0;
        kd->argspc = 0;
+       kd->arglen = 0;
        kd->argbuf = 0;
        kd->argv = 0;
        kd->vmst = 0;



Home | Main Index | Thread Index | Old Index