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/netbsd32 Pullup rev 1.15 (requested by atata...



details:   https://anonhg.NetBSD.org/src/rev/de3e5fb8e95b
branches:  netbsd-2-0
changeset: 560624:de3e5fb8e95b
user:      jmc <jmc%NetBSD.org@localhost>
date:      Thu Apr 29 04:07:16 2004 +0000

description:
Pullup rev 1.15 (requested by atatat in ticket #206)

Be consistent about using sysc_init_field()

diffstat:

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

diffs (28 lines):

diff -r 90dfa3f847f8 -r de3e5fb8e95b sys/compat/netbsd32/netbsd32_sysctl.c
--- a/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Apr 29 04:04:42 2004 +0000
+++ b/sys/compat/netbsd32/netbsd32_sysctl.c     Thu Apr 29 04:07:16 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: netbsd32_sysctl.c,v 1.14 2004/03/24 15:34:52 atatat Exp $      */
+/*     $NetBSD: netbsd32_sysctl.c,v 1.14.2.1 2004/04/29 04:07:16 jmc Exp $     */
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.14 2004/03/24 15:34:52 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_sysctl.c,v 1.14.2.1 2004/04/29 04:07:16 jmc Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_ddb.h"
@@ -65,8 +65,8 @@
 struct sysctlnode netbsd32_sysctl_root = {
        .sysctl_flags = SYSCTL_VERSION|CTLFLAG_ROOT|CTLTYPE_NODE,
        .sysctl_num = 0,
-       .sysctl_size = sizeof(struct sysctlnode),
        .sysctl_name = "(netbsd32_root)",
+       sysc_init_field(_sysctl_size, sizeof(struct sysctlnode)),
 };
 
 /*



Home | Main Index | Thread Index | Old Index