summaryrefslogtreecommitdiff
path: root/sysfile.c
diff options
context:
space:
mode:
authorRobert Morris <[email protected]>2010-09-27 16:14:33 -0400
committerRobert Morris <[email protected]>2010-09-27 16:14:33 -0400
commit4655d42e3b65f906eae8c815fb78331790f6e423 (patch)
treede5b3e4e74c992fd3cd8fef0a2d37cb805c659ac /sysfile.c
parenta9183883b88bfccd1c6a62e27621b2c892d50b67 (diff)
downloadxv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.gz
xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.tar.bz2
xv6-labs-4655d42e3b65f906eae8c815fb78331790f6e423.zip
copyout() copies data to a va in a pagetable, for exec() &c
usertest that passes too many arguments, break exec
Diffstat (limited to 'sysfile.c')
-rw-r--r--sysfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysfile.c b/sysfile.c
index 6b8eef4..0b42920 100644
--- a/sysfile.c
+++ b/sysfile.c
@@ -344,7 +344,7 @@ sys_chdir(void)
int
sys_exec(void)
{
- char *path, *argv[20];
+ char *path, *argv[MAXARG];
int i;
uint uargv, uarg;