diff options
author | Austin Clements <[email protected]> | 2011-09-30 15:28:33 -0400 |
---|---|---|
committer | Austin Clements <[email protected]> | 2011-09-30 15:28:33 -0400 |
commit | d73dd097a529bc9d13f514ae6884c4d96a0fffa8 (patch) | |
tree | bae50d365acea1815a7bba57b95d58bfa3083d9a | |
parent | 0ca1c0407d3da826ad8415e3204e1c53e394e204 (diff) | |
download | xv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.tar.gz xv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.tar.bz2 xv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.zip |
Fix compile error on newer gcc's
-rw-r--r-- | usertests.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usertests.c b/usertests.c index ed13d80..92b9136 100644 --- a/usertests.c +++ b/usertests.c @@ -1514,10 +1514,9 @@ bsstest(void) void bigargtest(void) { - int pid, ppid, fd; + int pid, fd; unlink("bigarg-ok"); - ppid = getpid(); pid = fork(); if(pid == 0){ static char *args[MAXARG]; |