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/errno.c | |
parent | 798669dc65077f81b6facd2415463a1bda13c4d7 (diff) |
import files from glibc for an ia64/static port
Diffstat (limited to 'test/unistd/errno.c')
-rw-r--r-- | test/unistd/errno.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unistd/errno.c b/test/unistd/errno.c index cb082b890..c77f58aa2 100644 --- a/test/unistd/errno.c +++ b/test/unistd/errno.c @@ -4,6 +4,7 @@ #include <stdlib.h> #include <errno.h> #include <sched.h> +#include "clone_cruft.h" int child_fn(void *arg) { @@ -15,7 +16,7 @@ int main(void) { int r_clone, ret_errno; - r_clone = clone(child_fn, NULL, (int) NULL, NULL); + r_clone = do_clone(child_fn, NULL, (int) NULL, NULL); ret_errno = errno; if (ret_errno != EINVAL || r_clone != -1) { fprintf(stderr, "clone: res=%d (wanted -1) errno=%d (wanted %d)\n", |