Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/darwin fix undefined variable.
details: https://anonhg.NetBSD.org/src/rev/3b26d0903f9c
branches: trunk
changeset: 565114:3b26d0903f9c
user: christos <christos%NetBSD.org@localhost>
date: Mon Mar 29 21:43:28 2004 +0000
description:
fix undefined variable.
diffstat:
sys/compat/darwin/darwin_sysctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 021f6c213711 -r 3b26d0903f9c sys/compat/darwin/darwin_sysctl.c
--- a/sys/compat/darwin/darwin_sysctl.c Mon Mar 29 21:41:39 2004 +0000
+++ b/sys/compat/darwin/darwin_sysctl.c Mon Mar 29 21:43:28 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.24 2004/03/29 21:43:28 christos 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.24 2004/03/29 21:43:28 christos 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