summaryrefslogtreecommitdiff
path: root/syscall.c
diff options
context:
space:
mode:
authorrtm <rtm>2006-08-29 19:59:52 +0000
committerrtm <rtm>2006-08-29 19:59:52 +0000
commit7a37578e9efcba67d82fbfee7d03cba830a41106 (patch)
tree1d86660c9a91ed3cd2bbbdda17bc0e79ea21a924 /syscall.c
parentdfcc5b997ce9c313b9ac0e7d8da39c4416b472a8 (diff)
downloadxv6-labs-7a37578e9efcba67d82fbfee7d03cba830a41106.tar.gz
xv6-labs-7a37578e9efcba67d82fbfee7d03cba830a41106.tar.bz2
xv6-labs-7a37578e9efcba67d82fbfee7d03cba830a41106.zip
clear killed flag in exit
idecref cwd in exit
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/syscall.c b/syscall.c
index 5a7a60d..2918bb0 100644
--- a/syscall.c
+++ b/syscall.c
@@ -113,7 +113,6 @@ sys_pipe(void)
return 0;
oops:
- cprintf("sys_pipe failed\n");
if(rfd)
fd_close(rfd);
if(wfd)
@@ -602,14 +601,12 @@ sys_exec(void)
return 0;
bad:
- cprintf("exec failed early\n");
if(mem)
kfree(mem, sz);
iput(ip);
return -1;
bad2:
- cprintf("exec failed late\n");
iput(ip);
proc_exit();
return 0;