diff options
-rw-r--r-- | usr.bin/osh/osh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/osh/osh.c b/usr.bin/osh/osh.c index 0e017e4..f36ba1e 100644 --- a/usr.bin/osh/osh.c +++ b/usr.bin/osh/osh.c @@ -390,6 +390,7 @@ main(int argc, char **argv) puts(WELCOME); while (running) { + memset(prog_argv, 0, sizeof(prog_argv)); fputs(PROMPT, stdout); input = getstr(); |