Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Sep 2012 09:46:47 +0000 (UTC)
From:      Aleksandr Rybalko <ray@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r240070 - head/sys/kern
Message-ID:  <201209030946.q839klx0060462@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ray
Date: Mon Sep  3 09:46:46 2012
New Revision: 240070
URL: http://svn.freebsd.org/changeset/base/240070

Log:
  Add missing braces.
  
  Approved by:	bschmidt (while mentor offline)
  Pointed by:     gcooper
  Pointy hat to:  ray

Modified:
  head/sys/kern/subr_hints.c

Modified: head/sys/kern/subr_hints.c
==============================================================================
--- head/sys/kern/subr_hints.c	Mon Sep  3 09:34:46 2012	(r240069)
+++ head/sys/kern/subr_hints.c	Mon Sep  3 09:46:46 2012	(r240070)
@@ -72,10 +72,11 @@ sysctl_hintmode(SYSCTL_HANDLER_ARGS)
 	/* Migrate from static to dynamic hints */
 	switch (hintmode) {
 	case 0:
-		if (dynamic_kenv)
+		if (dynamic_kenv) {
 			/* Already here */
 			hintmode = value; /* XXX: Need we switch or not ? */
 			return (0);
+		}
 		from_kenv = 1;
 		cp = kern_envp;
 		break;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209030946.q839klx0060462>