about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/tst-clone.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2009-01-23 20:41:36 +0000
committerUlrich Drepper <drepper@redhat.com>2009-01-23 20:41:36 +0000
commit25e84177645ef6e640037e5f4b69ff0ac13d31cc (patch)
treea9a540da995a98ae85e5214bb64547dc6d836289 /sysdeps/unix/sysv/linux/tst-clone.c
parent8073a49484461fbf71cacb154cc2aa2cdac0cca2 (diff)
downloadglibc-25e84177645ef6e640037e5f4b69ff0ac13d31cc.tar.gz
glibc-25e84177645ef6e640037e5f4b69ff0ac13d31cc.tar.xz
glibc-25e84177645ef6e640037e5f4b69ff0ac13d31cc.zip
..
2009-01-23  Ulrich Drepper  <drepper@redhat.com>

	* sysdeps/unix/sysv/linux/tst-clone.c (do_test): Avoid warning.

	* misc/hsearch_r.c (hcreate_r): We need at least three elements in
	the hash table.
	* misc/Makefile (tests): Add bug-hsearch1.
	* misc/bug-hsearch1.c: New file.
Diffstat (limited to 'sysdeps/unix/sysv/linux/tst-clone.c')
-rw-r--r--sysdeps/unix/sysv/linux/tst-clone.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/tst-clone.c b/sysdeps/unix/sysv/linux/tst-clone.c
index 8e249c2f04..cbfa8917d6 100644
--- a/sysdeps/unix/sysv/linux/tst-clone.c
+++ b/sysdeps/unix/sysv/linux/tst-clone.c
@@ -1,5 +1,5 @@
 /* Test for proper error/errno handling in clone.
-   Copyright (C) 2006 Free Software Foundation, Inc.
+   Copyright (C) 2006, 2009 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,9 +36,9 @@ do_test (void)
   int result;
 
 #ifdef __ia64__
-  result = __clone2(child_fn, NULL, 0, 0, NULL, NULL, NULL);
+  result = __clone2 (child_fn, NULL, 0, 0, NULL, NULL, NULL);
 #else
-  result = clone(child_fn, NULL, (int) NULL, NULL);
+  result = clone (child_fn, NULL, 0, NULL);
 #endif
 
   if (errno != EINVAL || result != -1)