diff options
Diffstat (limited to 'cmd.c')
-rw-r--r-- | cmd.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -287,7 +287,8 @@ static char *qemu_strsep(char **input, const char *delim) { char *result = *input; if (result != NULL) { - char *p = result; + char *p; + for (p = result; *p != '\0'; p++) { if (strchr(delim, *p)) { break; |