summaryrefslogtreecommitdiff
path: root/src/user/app/yosh
diff options
context:
space:
mode:
Diffstat (limited to 'src/user/app/yosh')
-rw-r--r--src/user/app/yosh/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/yosh/main.c b/src/user/app/yosh/main.c
index 7c9b875..f7ee7e7 100644
--- a/src/user/app/yosh/main.c
+++ b/src/user/app/yosh/main.c
@@ -265,7 +265,7 @@ int main(int argc, char **sh_args) {
}
first_arg++;
- int pid = run(c, (const char**)first_arg, vt_fd);
+ int pid = run(c, first_arg, vt_fd);
if (pid <= 0) {
if (pid == E_NOT_FOUND) {
printf("Error: no such file %s\n", c);