diff options
Diffstat (limited to 'sys/boot/common/interp_parse.c')
-rw-r--r-- | sys/boot/common/interp_parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/boot/common/interp_parse.c b/sys/boot/common/interp_parse.c index 32b01c8..32d4f48 100644 --- a/sys/boot/common/interp_parse.c +++ b/sys/boot/common/interp_parse.c @@ -137,7 +137,7 @@ parse(int *argc, char ***argv, char *str) case VAR: if (token) { - PARSE_FAIL((q = index(p, token)) == NULL); + PARSE_FAIL((q = strchr(p, token)) == NULL); } else { q = p; while (*q && !isspace(*q)) |