summaryrefslogtreecommitdiff
path: root/test/unistd
diff options
context:
space:
mode:
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",