diff options
author | peter <peter@FreeBSD.org> | 2002-04-27 22:25:13 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-04-27 22:25:13 +0000 |
commit | c204fdd4f35985b73b3a29324df99a58531faec2 (patch) | |
tree | 1ec9351cc82a9554555a53f233007ed804e4da96 /sys/kern | |
parent | 9f30a58b28149c133ee14dfdb7784b05278d5d32 (diff) | |
download | FreeBSD-src-c204fdd4f35985b73b3a29324df99a58531faec2.zip FreeBSD-src-c204fdd4f35985b73b3a29324df99a58531faec2.tar.gz |
Partial fix for hints
Obtained from: mux
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/subr_hints.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/subr_hints.c b/sys/kern/subr_hints.c index ddcba4a..2784564 100644 --- a/sys/kern/subr_hints.c +++ b/sys/kern/subr_hints.c @@ -150,9 +150,11 @@ res_find(int *line, int *startln, break; if (use_kenv) cp = kenvp[++i]; - while (*cp != '\0') + else { + while (*cp != '\0') + cp++; cp++; - cp++; + } if (*cp == '\0') { cp = NULL; break; |