diff options
Diffstat (limited to 'sys/kern/subr_hints.c')
-rw-r--r-- | sys/kern/subr_hints.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/subr_hints.c b/sys/kern/subr_hints.c index e27acf5..b2fe0bf 100644 --- a/sys/kern/subr_hints.c +++ b/sys/kern/subr_hints.c @@ -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; |