diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 01:20:54 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 01:20:54 +0000 |
commit | c429bf3057c87dd9545fc2d824b5930c52f7dfb8 (patch) | |
tree | f207534c6a7a16795f8e7a099c1b48180e9db94f /test/unistd/clone.c | |
parent | 798669dc65077f81b6facd2415463a1bda13c4d7 (diff) |
import files from glibc for an ia64/static port
Diffstat (limited to 'test/unistd/clone.c')
-rw-r--r-- | test/unistd/clone.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/test/unistd/clone.c b/test/unistd/clone.c index 6d9aa6873..cbbdbb8fc 100644 --- a/test/unistd/clone.c +++ b/test/unistd/clone.c @@ -28,6 +28,7 @@ #include <signal.h> #include <sched.h> #include <sys/wait.h> +#include "clone_cruft.h" #define GOT1 (1 << 1) #define GOT2 (1 << 2) @@ -56,15 +57,15 @@ int main(void) signal(SIGCHLD, child_handler); - if ((clone1 = clone(clone_main, clone1_stack, 0, (void*)11)) == -1) { + if ((clone1 = do_clone(clone_main, clone1_stack, 0, (void*)11)) == -1) { perror("Clone 1 failed"); exit(-1); } - if ((clone2 = clone(clone_main, clone2_stack, 0, (void*)22)) == -1) { + if ((clone2 = do_clone(clone_main, clone2_stack, 0, (void*)22)) == -1) { perror("Clone 2 failed"); exit(-2); } - if ((clone3 = clone(clone_main, clone3_stack, 0, (void*)33)) == -1) { + if ((clone3 = do_clone(clone_main, clone3_stack, 0, (void*)33)) == -1) { perror("Clone 3 failed"); exit(-3); } |