diff options
Diffstat (limited to 'nptl')
-rw-r--r-- | nptl/ChangeLog | 4 | ||||
-rw-r--r-- | nptl/sem_open.c | 4 |
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. */ |