summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysfile.c')
-rw-r--r--sysfile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysfile.c b/sysfile.c
index 6b8eef4..4235660 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -344,11 +344,11 @@ sys_chdir(void)
int
sys_exec(void)
{
- char *path, *argv[20];
+ char *path, *argv[MAXARG];
int i;
uint uargv, uarg;
- if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0) {
+ if(argstr(0, &path) < 0 || argint(1, (int*)&uargv) < 0){
return -1;
}
memset(argv, 0, sizeof(argv));