svn commit: r266324 - stable/9/lib/libc/gen

Konstantin Belousov kib at FreeBSD.org
Sat May 17 16:22:25 UTC 2014


Author: kib
Date: Sat May 17 16:22:25 2014
New Revision: 266324
URL: http://svnweb.freebsd.org/changeset/base/266324

Log:
  MFC r265845:
  Style.

Modified:
  stable/9/lib/libc/gen/sem_new.c
Directory Properties:
  stable/9/lib/libc/   (props changed)

Modified: stable/9/lib/libc/gen/sem_new.c
==============================================================================
--- stable/9/lib/libc/gen/sem_new.c	Sat May 17 16:12:50 2014	(r266323)
+++ stable/9/lib/libc/gen/sem_new.c	Sat May 17 16:22:25 2014	(r266324)
@@ -300,13 +300,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


More information about the svn-src-all mailing list