Source-Changes-HG archive

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

[src/netbsd-2-0]: src/sys/compat/darwin Pull up revision 1.24 (requested by j...



details:   https://anonhg.NetBSD.org/src/rev/224c4f230083
branches:  netbsd-2-0
changeset: 560159:224c4f230083
user:      tron <tron%NetBSD.org@localhost>
date:      Wed Mar 31 07:51:19 2004 +0000

description:
Pull up revision 1.24 (requested by jmc in ticket #15):
fix undefined variable.

diffstat:

 sys/compat/darwin/darwin_sysctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c106842850b9 -r 224c4f230083 sys/compat/darwin/darwin_sysctl.c
--- a/sys/compat/darwin/darwin_sysctl.c Tue Mar 30 06:05:04 2004 +0000
+++ b/sys/compat/darwin/darwin_sysctl.c Wed Mar 31 07:51:19 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: darwin_sysctl.c,v 1.23 2004/03/24 15:34:52 atatat Exp $ */
+/*     $NetBSD: darwin_sysctl.c,v 1.23.2.1 2004/03/31 07:51:19 tron Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: darwin_sysctl.c,v 1.23 2004/03/24 15:34:52 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_sysctl.c,v 1.23.2.1 2004/03/31 07:51:19 tron Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -120,7 +120,7 @@
                       DARWIN_CTL_KERN, DARWIN_KERN_OSTYPE, CTL_EOL);
        sysctl_createv(clog, 0, &_root, NULL,
                       CTLFLAG_PERMANENT,
-                      CTLTYPE_STRING, "osrelease", &r,
+                      CTLTYPE_STRING, "osrelease", NULL,
                       darwin_sysctl_redispatch, 0, NULL, 0,
                       DARWIN_CTL_KERN, DARWIN_KERN_OSRELEASE, CTL_EOL);
        sysctl_createv(clog, 0, &_root, NULL,



Home | Main Index | Thread Index | Old Index