Author: kib
Date: Sat May 10 18:59:09 2014
New Revision: 265845
URL: http://svnweb.freebsd.org/changeset/base/265845

Log:
  Style.
  
  Sponsored by: The FreeBSD Foundation
  MFC after:    1 week

Modified:
  head/lib/libc/gen/sem_new.c

Modified: head/lib/libc/gen/sem_new.c
==============================================================================
--- head/lib/libc/gen/sem_new.c Sat May 10 17:42:21 2014        (r265844)
+++ head/lib/libc/gen/sem_new.c Sat May 10 18:59:09 2014        (r265845)
@@ -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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to