summaryrefslogtreecommitdiffstats
path: root/src/lib9/rfork.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9/rfork.c')
-rw-r--r--src/lib9/rfork.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/lib9/rfork.c b/src/lib9/rfork.c
index d3c8f8b2..aec051a9 100644
--- a/src/lib9/rfork.c
+++ b/src/lib9/rfork.c
@@ -2,7 +2,6 @@
#include <sys/wait.h>
#include <signal.h>
#include <libc.h>
-#include "9proc.h"
#undef rfork
int
@@ -13,7 +12,6 @@ p9rfork(int flags)
int n;
char buf[128], *q;
- _p9uproc(0);
if((flags&(RFPROC|RFFDG|RFMEM)) == (RFPROC|RFFDG)){
/* check other flags before we commit */
flags &= ~(RFPROC|RFFDG);
@@ -73,7 +71,6 @@ p9rfork(int flags)
}
}
}
- _p9uproc(0);
if(pid != 0)
return pid;
}