projects
/
util-vserver.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
added Vector_zeroEnd() function
[util-vserver.git]
/
util-vserver
/
tests
/
testlimit.c
diff --git
a/util-vserver/tests/testlimit.c
b/util-vserver/tests/testlimit.c
index
7d90a1f
..
a1e0651
100644
(file)
--- a/
util-vserver/tests/testlimit.c
+++ b/
util-vserver/tests/testlimit.c
@@
-32,6
+32,7
@@
int main (int argc, char *argv[])
int nbproc = atoi(argv[1]);
int size = atoi(argv[2]);
int i;
+ int status;
for (i=0; i<nbproc; i++){
if (fork()==0){
void *pt = malloc(size);
@@
-45,7
+46,6
@@
int main (int argc, char *argv[])
_exit (0);
}
}
- int status;
while (wait(&status)!=-1);
}
return 0;