diff options
-rw-r--r-- | sysdeps/pthread/sem_routines.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/pthread/sem_routines.c b/sysdeps/pthread/sem_routines.c index c2c8b54cd0..34e6410729 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. */ |