From owner-svn-src-head@FreeBSD.ORG Thu Dec 5 03:01:42 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D69F214; Thu, 5 Dec 2013 03:01:42 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EEDB31684; Thu, 5 Dec 2013 03:01:41 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB531fvO016442; Thu, 5 Dec 2013 03:01:41 GMT (envelope-from cperciva@svn.freebsd.org) Received: (from cperciva@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB531fVI016441; Thu, 5 Dec 2013 03:01:41 GMT (envelope-from cperciva@svn.freebsd.org) Message-Id: <201312050301.rB531fVI016441@svn.freebsd.org> From: Colin Percival Date: Thu, 5 Dec 2013 03:01:41 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r258956 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 03:01:42 -0000 Author: cperciva Date: Thu Dec 5 03:01:41 2013 New Revision: 258956 URL: http://svnweb.freebsd.org/changeset/base/258956 Log: Make panic_reboot_wait_time static. Submitted by: jhb Modified: head/sys/kern/kern_shutdown.c Modified: head/sys/kern/kern_shutdown.c ============================================================================== --- head/sys/kern/kern_shutdown.c Thu Dec 5 01:44:24 2013 (r258955) +++ head/sys/kern/kern_shutdown.c Thu Dec 5 03:01:41 2013 (r258956) @@ -89,7 +89,7 @@ __FBSDID("$FreeBSD$"); #ifndef PANIC_REBOOT_WAIT_TIME #define PANIC_REBOOT_WAIT_TIME 15 /* default to 15 seconds */ #endif -int panic_reboot_wait_time = PANIC_REBOOT_WAIT_TIME; +static int panic_reboot_wait_time = PANIC_REBOOT_WAIT_TIME; SYSCTL_INT(_kern, OID_AUTO, panic_reboot_wait_time, CTLFLAG_RW | CTLFLAG_TUN, &panic_reboot_wait_time, 0, "Seconds to wait before rebooting after a panic");