aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sysdeps/pthread/sem_routines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/sem_routines.c b/sysdeps/pthread/sem_routines.c
index c2c8b54..34e6410 100644
--- a/sysdeps/pthread/sem_routines.c
+++ b/sysdeps/pthread/sem_routines.c
@@ -37,7 +37,7 @@ struct search_sem
ino_t ino;
int refcnt;
sem_t *sem;
- char name[NAME_MAX];
+ char name[NAME_MAX + 1];
};
/* Comparison function for search of existing mapping. */