summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_hints.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/kern/subr_hints.c b/sys/kern/subr_hints.c
index d4f5cc8..eac4f59 100644
--- a/sys/kern/subr_hints.c
+++ b/sys/kern/subr_hints.c
@@ -61,6 +61,8 @@ res_find(int *line, int *startln,
char *p;
if (checkmethod) {
+ hintp = NULL;
+
switch (hintmode) {
case 0: /* loader hints in environment only */
break;
OpenPOWER on IntegriCloud