diff options
| author | atatat <atatat@NetBSD.org> | 2004-04-27 03:49:03 +0000 |
|---|---|---|
| committer | atatat <atatat@NetBSD.org> | 2004-04-27 03:49:03 +0000 |
| commit | e5004170aabec82a6c66c1dd9e58f10ddd304d75 (patch) | |
| tree | a6ae961cef69aabbc73f933ce162d606ae1d0604 /sys/compat/linux/common/linux_sysctl.c | |
| parent | 423f25048bf3233ceb404e8a3a4d9687fcc73ee4 (diff) | |
Be consistent about using sysc_init_field()
Diffstat (limited to 'sys/compat/linux/common/linux_sysctl.c')
| -rw-r--r-- | sys/compat/linux/common/linux_sysctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_sysctl.c b/sys/compat/linux/common/linux_sysctl.c index dbf62c122ed..67b9d518fa2 100644 --- a/sys/compat/linux/common/linux_sysctl.c +++ b/sys/compat/linux/common/linux_sysctl.c @@ -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.14 2004/04/27 03:49:03 atatat 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.14 2004/04/27 03:49:03 atatat Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -72,8 +72,8 @@ static struct sysctlnode linux_sysctl_root = { .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)), }; /* |
