about summary refs log tree commit diff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-05-25 14:41:55 +0000
committerUlrich Drepper <drepper@redhat.com>2007-05-25 14:41:55 +0000
commit47ad95ab96a69424d2291714ebe99f1eb87057da (patch)
tree421aecd3cba6abd7936db924fadf565f70a3f79a /nptl/init.c
parent86acd5963441f4bfc087ceca8c30f8d72c6a5fa6 (diff)
downloadglibc-47ad95ab96a69424d2291714ebe99f1eb87057da.tar.gz
glibc-47ad95ab96a69424d2291714ebe99f1eb87057da.tar.xz
glibc-47ad95ab96a69424d2291714ebe99f1eb87057da.zip
* io/bits/fcntl2.h (__open_2): Add nonnull attribute.
	(open): Fix comment typos.  Don't call __open_2 if flags
	is a compile time constant without O_CREAT.
	(__open64_2): Add nonnull attribute.
	(open64): Fix comment typos.  Don't call __open64_2 if flags
	is a compile time constant without O_CREAT.
	(__openat_2): Add nonnull attribute, fix nonnull attribute
	on redirect.
	(openat): Fix comment typos.  Don't call __openat_2 if flags
	is a compile time constant without O_CREAT.
	(__openat64_2): Add nonnull attribute, fix nonnull attribute
	on redirect.
	(openat64): Fix comment typos.  Don't call __openat64_2 if flags
	is a compile time constant without O_CREAT.
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/init.c b/nptl/init.c
index 03862a147f..d7c74d4e1c 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -284,7 +284,7 @@ __pthread_initialize_minimal_internal (void)
     res = INTERNAL_SYSCALL (futex, err, 3, &word,
 			    FUTEX_WAKE | FUTEX_PRIVATE_FLAG, 1);
     if (!INTERNAL_SYSCALL_ERROR_P (res, err))
-      THREAD_SET_PRIVATE_FUTEX (pd, FUTEX_PRIVATE_FLAG);
+      THREAD_SET_PRIVATE_FUTEX (FUTEX_PRIVATE_FLAG);
   }
 #endif