From 9c74cb8c5bb5661d7f71f43b88816e70cc9fc022 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sun, 9 Jun 2013 14:35:40 +0200 Subject: Many bug corrections. --- src/user/app/yosh/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/user/app/yosh') 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); -- cgit v1.2.3