diff options
Diffstat (limited to 'nptl/sem_open.c')
-rw-r--r-- | nptl/sem_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |