Date: Mon, 21 Jun 2010 09:51:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r209389 - head/sys/kern Message-ID: <201006210951.o5L9pP7g086440@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Jun 21 09:51:25 2010 New Revision: 209389 URL: http://svn.freebsd.org/changeset/base/209389 Log: Do not report a stack garbage as the old value for debug.ncores sysctl. Reported by: brucec Modified: head/sys/kern/kern_sig.c Modified: head/sys/kern/kern_sig.c ============================================================================== --- head/sys/kern/kern_sig.c Mon Jun 21 08:24:50 2010 (r209388) +++ head/sys/kern/kern_sig.c Mon Jun 21 09:51:25 2010 (r209389) @@ -2953,7 +2953,8 @@ sysctl_debug_num_cores_check (SYSCTL_HAN { int error; int new_val; - + + new_val = num_cores; error = sysctl_handle_int(oidp, &new_val, 0, req); if (error != 0 || req->newptr == NULL) return (error);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006210951.o5L9pP7g086440>