From ef061fd462c25898915d6ec6c437ed0623588273 Mon Sep 17 00:00:00 2001 From: christos Date: Thu, 10 May 2007 17:12:32 +0000 Subject: [PATCH] =?UTF-8?q?move=20the=20#if=200=20down=20a=20few=20lines?= =?UTF-8?q?=20so=20linux=5Fmachine=20gets=20initialized.=20Pointed=20out?= =?UTF-8?q?=20by=20Joachim=20K=EF=BF=BDnig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sys/compat/linux/common/linux_sysctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/compat/linux/common/linux_sysctl.c b/sys/compat/linux/common/linux_sysctl.c index 3a87d85dc463..f59dfab90f35 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.28 2007/05/06 23:25:26 christos Exp $ */ +/* $NetBSD: linux_sysctl.c,v 1.29 2007/05/10 17:12:32 christos Exp $ */ /*- * Copyright (c) 2003 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.28 2007/05/06 23:25:26 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_sysctl.c,v 1.29 2007/05/10 17:12:32 christos Exp $"); #if defined (_KERNEL_OPT) #include "opt_ktrace.h" @@ -116,11 +116,11 @@ SYSCTL_SETUP(linux_sysctl_setup, "linux emulated sysctl subtree setup") NULL, 0, linux_version, sizeof(linux_version), LINUX_KERN_VERSION, CTL_EOL); -#if 0 #ifndef LINUX_UNAME_ARCH #define LINUX_UNAME_ARCH machine #endif strlcpy(linux_machine, LINUX_UNAME_ARCH, sizeof(linux_machine)); +#if 0 sysctl_createv(clog, 0, &node, NULL, CTLFLAG_PERMANENT, CTLTYPE_STRING, "machine", NULL,