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/linux/common Pullup rev 1.14 (requested by a...



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

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

Be consistent about using sysc_init_field()

diffstat:

 sys/compat/linux/common/linux_sysctl.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r de3e5fb8e95b -r 2e101e54eb2f sys/compat/linux/common/linux_sysctl.c
--- a/sys/compat/linux/common/linux_sysctl.c    Thu Apr 29 04:07:16 2004 +0000
+++ b/sys/compat/linux/common/linux_sysctl.c    Thu Apr 29 04:07:18 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: linux_sysctl.c,v 1.13 2004/03/24 15:34:52 atatat Exp $ */
+/*     $NetBSD: linux_sysctl.c,v 1.13.2.1 2004/04/29 04:07:18 jmc Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.13 2004/03/24 15:34:52 atatat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.13.2.1 2004/04/29 04:07:18 jmc Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -72,8 +72,8 @@
        .sysctl_flags = SYSCTL_VERSION|
            CTLFLAG_ROOT|CTLTYPE_NODE|CTLFLAG_READWRITE,
        .sysctl_num = 0,
-       .sysctl_size = sizeof(struct sysctlnode),
        .sysctl_name = "(linux_root)",
+       sysc_init_field(_sysctl_size, sizeof(struct sysctlnode)),
 };
 
 /*



Home | Main Index | Thread Index | Old Index