diff options
| author | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-17 17:38:03 +0100 |
|---|---|---|
| committer | Nathan Reiner <nathan@nathanreiner.xyz> | 2022-12-17 17:38:03 +0100 |
| commit | e0ec3f0a536fabe0c8c47dd64da77855c0824adc (patch) | |
| tree | a009465731576dd8d0509f8c2f0c7023d1ddfbb7 /smash/exec.c | |
| parent | 0e0f22cde8fa9a8c9e0ff509a90727092e0af58b (diff) | |
resolve Warnings
Diffstat (limited to 'smash/exec.c')
| -rw-r--r-- | smash/exec.c | 2 |
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); } |