Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix query of IMMEDIATE bool values (copy & pasto).
details: https://anonhg.NetBSD.org/src/rev/b7024b63aaae
branches: trunk
changeset: 778303:b7024b63aaae
user: martin <martin%NetBSD.org@localhost>
date: Wed Mar 21 14:51:36 2012 +0000
description:
Fix query of IMMEDIATE bool values (copy & pasto).
diffstat:
sys/kern/kern_sysctl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r c4e359dc2c5f -r b7024b63aaae sys/kern/kern_sysctl.c
--- a/sys/kern/kern_sysctl.c Wed Mar 21 14:32:22 2012 +0000
+++ b/sys/kern/kern_sysctl.c Wed Mar 21 14:51:36 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_sysctl.c,v 1.233 2011/11/19 22:51:25 tls Exp $ */
+/* $NetBSD: kern_sysctl.c,v 1.234 2012/03/21 14:51:36 martin Exp $ */
/*-
* Copyright (c) 2003, 2007, 2008 The NetBSD Foundation, Inc.
@@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.233 2011/11/19 22:51:25 tls Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_sysctl.c,v 1.234 2012/03/21 14:51:36 martin Exp $");
#include "opt_defcorename.h"
#include "ksyms.h"
@@ -1182,7 +1182,7 @@
} else if (flags & CTLFLAG_IMMEDIATE) {
switch (type) {
case CTLTYPE_BOOL:
- node->sysctl_idata = nnode.sysctl_bdata;
+ node->sysctl_bdata = nnode.sysctl_bdata;
break;
case CTLTYPE_INT:
node->sysctl_idata = nnode.sysctl_idata;
Home |
Main Index |
Thread Index |
Old Index