Add missing braces.

Approved by:	bschmidt (while mentor offline)
Pointed by:     gcooper
Pointy hat to:  ray
This commit is contained in:
Aleksandr Rybalko 2012-09-03 09:46:46 +00:00
parent cfe52ecf0e
commit 6a8dada257

View File

@ -72,10 +72,11 @@ sysctl_hintmode(SYSCTL_HANDLER_ARGS)
/* Migrate from static to dynamic hints */ /* Migrate from static to dynamic hints */
switch (hintmode) { switch (hintmode) {
case 0: case 0:
if (dynamic_kenv) if (dynamic_kenv) {
/* Already here */ /* Already here */
hintmode = value; /* XXX: Need we switch or not ? */ hintmode = value; /* XXX: Need we switch or not ? */
return (0); return (0);
}
from_kenv = 1; from_kenv = 1;
cp = kern_envp; cp = kern_envp;
break; break;