summary refs log tree commit diff
path: root/nptl
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-03-01 22:40:30 +0000
committerRoland McGrath <roland@gnu.org>2003-03-01 22:40:30 +0000
commitd1149385647013bdbb04553ddb85e2f003434ea5 (patch)
tree8687d842281f5450bb67eb13b2e5228b26640f7b /nptl
parent7ed33cba81fdcef882edda1c9a9a12397dcc3616 (diff)
downloadglibc-d1149385647013bdbb04553ddb85e2f003434ea5.tar.gz
glibc-d1149385647013bdbb04553ddb85e2f003434ea5.tar.xz
glibc-d1149385647013bdbb04553ddb85e2f003434ea5.zip
* configure.in: In "running configure fragment for" message,
	omit $srcdir from the name if we prepended it.
	* configure: Regenerated.
Diffstat (limited to 'nptl')
-rw-r--r--nptl/ChangeLog4
-rw-r--r--nptl/sem_open.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 113d69aad3..b85d911e0f 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,7 @@
+2003-03-01  Roland McGrath  <roland@redhat.com>
+
+	* sem_open.c (sem_open): Braino fix.
+
 2003-03-01  Ulrich Drepper  <drepper@redhat.com>
 
 	* descr.h (struct pthread): Move tid field to the front now that
diff --git a/nptl/sem_open.c b/nptl/sem_open.c
index 111b5f57dd..2bfea63a80 100644
--- a/nptl/sem_open.c
+++ b/nptl/sem_open.c
@@ -126,8 +126,8 @@ sem_t *
 sem_open (const char *name, int oflag, ...)
 {
   char *finalname;
-  size_t namelen = SEM_FAILED;
-  sem_t *result;
+  size_t namelen;
+  sem_t *result = SEM_FAILED;
   int fd;
 
   /* Determine where the shmfs is mounted.  */