Source-Changes-HG archive

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

[src/trunk]: src/sbin/sysctl Number of toplevel names grew by one, account fo...



details:   https://anonhg.NetBSD.org/src/rev/84086c715d4b
branches:  trunk
changeset: 501963:84086c715d4b
user:      fvdl <fvdl%NetBSD.org@localhost>
date:      Tue Jan 09 21:31:02 2001 +0000

description:
Number of toplevel names grew by one, account for it.

diffstat:

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

diffs (34 lines):

diff -r 66bf75c90592 -r 84086c715d4b sbin/sysctl/sysctl.c
--- a/sbin/sysctl/sysctl.c      Tue Jan 09 21:30:25 2001 +0000
+++ b/sbin/sysctl/sysctl.c      Tue Jan 09 21:31:02 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sysctl.c,v 1.42 2001/01/05 02:02:58 lukem Exp $        */
+/*     $NetBSD: sysctl.c,v 1.43 2001/01/09 21:31:02 fvdl 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.42 2001/01/05 02:02:58 lukem Exp $");
+__RCSID("$NetBSD: sysctl.c,v 1.43 2001/01/09 21:31:02 fvdl Exp $");
 #endif
 #endif /* not lint */
 
@@ -147,6 +147,7 @@
        { username, USER_MAXID },       /* CTL_USER_NAMES */
        { ddbname, DDBCTL_MAXID },      /* CTL_DDB_NAMES */
        { procname, 2 },                /* dummy name */
+       { 0, 0},
 };
 
 int    Aflag, aflag, nflag, wflag;
@@ -493,6 +494,7 @@
                }
                break;
 
+       case CTL_VENDOR:
        case CTL_USER:
        case CTL_DDB:
                break;



Home | Main Index | Thread Index | Old Index