aboutsummaryrefslogtreecommitdiff
path: root/smash/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'smash/exec.c')
-rw-r--r--smash/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smash/exec.c b/smash/exec.c
index 11620a5..79c8414 100644
--- a/smash/exec.c
+++ b/smash/exec.c
@@ -91,7 +91,7 @@ void exec(char *line)
close(pipefd[1][PIPE_OUT]);
close(pipefd[1][PIPE_IN]);
- __execenv(argv);
+ __execenv((const char **)argv);
wstdf("command not found: %s\n", argv[0]);
exit(-1);
}