summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Clements <[email protected]>2011-09-30 15:28:33 -0400
committerAustin Clements <[email protected]>2011-09-30 15:28:33 -0400
commitd73dd097a529bc9d13f514ae6884c4d96a0fffa8 (patch)
treebae50d365acea1815a7bba57b95d58bfa3083d9a
parent0ca1c0407d3da826ad8415e3204e1c53e394e204 (diff)
downloadxv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.tar.gz
xv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.tar.bz2
xv6-labs-d73dd097a529bc9d13f514ae6884c4d96a0fffa8.zip
Fix compile error on newer gcc's
-rw-r--r--usertests.c3
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];