Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-6]: src/sys/kern Pull up following revision(s) (requested by mart...
details: https://anonhg.NetBSD.org/src/rev/03f3f9c1b667
branches: netbsd-6
changeset: 773952:03f3f9c1b667
user: riz <riz%NetBSD.org@localhost>
date: Thu Mar 22 22:56:54 2012 +0000
description:
Pull up following revision(s) (requested by martin in ticket #135):
sys/kern/kern_sysctl.c: revision 1.234
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 576ca9169580 -r 03f3f9c1b667 sys/kern/kern_sysctl.c
--- a/sys/kern/kern_sysctl.c Thu Mar 22 22:55:18 2012 +0000
+++ b/sys/kern/kern_sysctl.c Thu Mar 22 22:56:54 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.233.4.1 2012/03/22 22:56:54 riz 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.233.4.1 2012/03/22 22:56:54 riz 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