diff options
author | kib <kib@FreeBSD.org> | 2014-05-17 11:38:26 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2014-05-17 11:38:26 +0000 |
commit | 0bc598bf79b8567cb3518f8d120f32b2a9d126bd (patch) | |
tree | d92a1d36a397ff191cf434b9d1a4775c93c0657a /lib/libc | |
parent | ac64c61f5e2931d106fba51d39042fdee714b06c (diff) | |
download | FreeBSD-src-0bc598bf79b8567cb3518f8d120f32b2a9d126bd.zip FreeBSD-src-0bc598bf79b8567cb3518f8d120f32b2a9d126bd.tar.gz |
MFC r265845:
Style.
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/sem_new.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/sem_new.c b/lib/libc/gen/sem_new.c index 9a2ab27..f196006 100644 --- a/lib/libc/gen/sem_new.c +++ b/lib/libc/gen/sem_new.c @@ -294,13 +294,13 @@ _sem_unlink(const char *name) return -1; } name++; - strcpy(path, SEM_PREFIX); if (strlcat(path, name, sizeof(path)) >= sizeof(path)) { errno = ENAMETOOLONG; return (-1); } - return unlink(path); + + return (unlink(path)); } int |