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 Pullup rev 1.25 (requested by atatat ...
details: https://anonhg.NetBSD.org/src/rev/0361c6829220
branches: netbsd-2-0
changeset: 560592:0361c6829220
user: jmc <jmc%NetBSD.org@localhost>
date: Wed Apr 28 05:33:33 2004 +0000
description:
Pullup rev 1.25 (requested by atatat in ticket #194)
Be consistent about using sysc_init_field()
diffstat:
sys/compat/darwin/darwin_sysctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 40afbf77ab14 -r 0361c6829220 sys/compat/darwin/darwin_sysctl.c
--- a/sys/compat/darwin/darwin_sysctl.c Wed Apr 28 05:32:41 2004 +0000
+++ b/sys/compat/darwin/darwin_sysctl.c Wed Apr 28 05:33:33 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: darwin_sysctl.c,v 1.23.2.1 2004/03/31 07:51:19 tron Exp $ */
+/* $NetBSD: darwin_sysctl.c,v 1.23.2.2 2004/04/28 05:33:33 jmc 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.2.1 2004/03/31 07:51:19 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: darwin_sysctl.c,v 1.23.2.2 2004/04/28 05:33:33 jmc Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -80,7 +80,7 @@
static struct sysctlnode darwin_sysctl_root = {
.sysctl_flags = SYSCTL_VERSION|CTLFLAG_ROOT|CTLTYPE_NODE,
.sysctl_num = 0,
- .sysctl_size = sizeof(struct sysctlnode),
+ sysc_init_field(_sysctl_size, sizeof(struct sysctlnode)),
.sysctl_name = "(darwin_root)",
};
Home |
Main Index |
Thread Index |
Old Index