Date: Sat, 17 May 2014 11:38:27 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r266305 - stable/10/lib/libc/gen Message-ID: <201405171138.s4HBcRRw041769@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Sat May 17 11:38:26 2014 New Revision: 266305 URL: http://svnweb.freebsd.org/changeset/base/266305 Log: MFC r265845: Style. Modified: stable/10/lib/libc/gen/sem_new.c Directory Properties: stable/10/ (props changed) Modified: stable/10/lib/libc/gen/sem_new.c ============================================================================== --- stable/10/lib/libc/gen/sem_new.c Sat May 17 11:36:31 2014 (r266304) +++ stable/10/lib/libc/gen/sem_new.c Sat May 17 11:38:26 2014 (r266305) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405171138.s4HBcRRw041769>