summaryrefslogtreecommitdiff
path: root/test/unistd
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2009-02-02 14:51:48 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2009-02-02 14:51:48 +0000
commit168b72be28dc6a1ef14d5672dd97616a10af294c (patch)
tree45d1c2202eb813a64579fd5b2803b0bd1bfae339 /test/unistd
parentf82635e74a7e174f71f955eaa4f5dc788e596cc0 (diff)
libm/ldouble_wrappers.c: add libm_hidden_def's to fix testsuite build
test/Rules.mak: don't pass target options to host build test/math/basic-test.c: fix test build error patching file test/unistd/errno.c: fix test build warning
Diffstat (limited to 'test/unistd')
-rw-r--r--test/unistd/errno.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unistd/errno.c b/test/unistd/errno.c
index 5fdb3b347..5d4fc726a 100644
--- a/test/unistd/errno.c
+++ b/test/unistd/errno.c
@@ -17,7 +17,7 @@ int main(void)
{
int r_clone, ret_errno;
- r_clone = do_clone(child_fn, NULL, (int) NULL, NULL);
+ r_clone = do_clone(child_fn, NULL, 0, NULL);
ret_errno = errno;
if (ret_errno != EINVAL || r_clone != -1) {
fprintf(stderr, "clone: res=%d (wanted -1) errno=%d (wanted %d)\n",