Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/i386 Use SYSCTL_DESCR()



details:   https://anonhg.NetBSD.org/src/rev/0b4a973062af
branches:  trunk
changeset: 757178:0b4a973062af
user:      jym <jym%NetBSD.org@localhost>
date:      Tue Aug 17 22:24:04 2010 +0000

description:
Use SYSCTL_DESCR()

diffstat:

 sys/arch/i386/i386/machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r d8d57a32099c -r 0b4a973062af sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c      Tue Aug 17 20:42:47 2010 +0000
+++ b/sys/arch/i386/i386/machdep.c      Tue Aug 17 22:24:04 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.693 2010/08/16 19:39:06 jym Exp $        */
+/*     $NetBSD: machdep.c,v 1.694 2010/08/17 22:24:04 jym Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998, 2000, 2004, 2006, 2008, 2009
@@ -67,7 +67,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.693 2010/08/16 19:39:06 jym Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.694 2010/08/17 22:24:04 jym Exp $");
 
 #include "opt_beep.h"
 #include "opt_compat_ibcs2.h"
@@ -693,7 +693,8 @@
                       CTL_MACHDEP, CTL_CREATE, CTL_EOL);
        sysctl_createv(clog, 0, NULL, NULL,
                       CTLFLAG_PERMANENT,
-                      CTLTYPE_INT, "pae", "Whether the kernel uses PAE",
+                      CTLTYPE_INT, "pae", 
+                      SYSCTL_DESCR("Whether the kernel uses PAE"),
                       NULL, 0, &i386_use_pae, 0,
                       CTL_MACHDEP, CTL_CREATE, CTL_EOL);
 }



Home | Main Index | Thread Index | Old Index