summaryrefslogtreecommitdiff
path: root/nptl/sem_open.c
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/sem_open.c
parent7ed33cba81fdcef882edda1c9a9a12397dcc3616 (diff)
downloadglibc-d1149385647013bdbb04553ddb85e2f003434ea5.tar.gz
* configure.in: In "running configure fragment for" message,
omit $srcdir from the name if we prepended it. * configure: Regenerated.
Diffstat (limited to 'nptl/sem_open.c')
-rw-r--r--nptl/sem_open.c4
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. */