diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-22 01:56:31 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-22 01:56:31 +0000 |
commit | c969ef4b8fc1d06c13203b36f8cf5bb61a7730f0 (patch) | |
tree | eb2da173a5661b2b2e615045f26f7b69e774290d /test/unistd/errno.c | |
parent | fea84e591f94b025ef7c2da843ae80b809f93dbe (diff) | |
download | uClibc-alpine-c969ef4b8fc1d06c13203b36f8cf5bb61a7730f0.tar.bz2 uClibc-alpine-c969ef4b8fc1d06c13203b36f8cf5bb61a7730f0.tar.xz |
Merge from trunk. Whoa crap.
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", |