Source-Changes-HG archive

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

[src/trunk]: src/sbin/sysctl Handle kern.proc_args as well.



details:   https://anonhg.NetBSD.org/src/rev/4fe7b27ed7b8
branches:  trunk
changeset: 486668:4fe7b27ed7b8
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat May 27 15:30:12 2000 +0000

description:
Handle kern.proc_args as well.

diffstat:

 sbin/sysctl/sysctl.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 1d42fcd19aec -r 4fe7b27ed7b8 sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c      Sat May 27 15:28:58 2000 +0000
+++ b/sbin/sysctl/sysctl.c      Sat May 27 15:30:12 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.c,v 1.33 2000/05/27 15:11:05 simonb Exp $       */
+/*     $NetBSD: sysctl.c,v 1.34 2000/05/27 15:30:12 simonb Exp $       */
 
 /*
  * Copyright (c) 1993
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)sysctl.c   8.1 (Berkeley) 6/6/93";
 #else
-__RCSID("$NetBSD: sysctl.c,v 1.33 2000/05/27 15:11:05 simonb Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.34 2000/05/27 15:30:12 simonb Exp $");
 #endif
 #endif /* not lint */
 
@@ -362,6 +362,7 @@
                        return;
                case KERN_PROC:
                case KERN_PROC2:
+               case KERN_PROC_ARGS:
                        if (flags == 0)
                                return;
                        warnx("Use ps to view %s information", string);



Home | Main Index | Thread Index | Old Index