svn commit: r337966 - head/lib/libc/gen

Mariusz Zaborski oshogbo at FreeBSD.org
Fri Aug 17 14:37:14 UTC 2018


Author: oshogbo
Date: Fri Aug 17 14:37:13 2018
New Revision: 337966
URL: https://svnweb.freebsd.org/changeset/base/337966

Log:
  Fix style nits.

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

Modified: head/lib/libc/gen/setproctitle.c
==============================================================================
--- head/lib/libc/gen/setproctitle.c	Fri Aug 17 14:35:10 2018	(r337965)
+++ head/lib/libc/gen/setproctitle.c	Fri Aug 17 14:37:13 2018	(r337966)
@@ -72,7 +72,7 @@ setproctitle_internal(const char *fmt, va_list ap)
 
 	if (buf == NULL) {
 		buf = malloc(SPT_BUFSIZE);
-		if (buf == NULL) 
+		if (buf == NULL)
 			return (NULL);
 		nargv[0] = buf;
 	}
@@ -98,13 +98,13 @@ setproctitle_internal(const char *fmt, va_list ap)
 		}
 
 		/* print the argument string */
-		(void) vsnprintf(buf + len, SPT_BUFSIZE - len, fmt, ap);
+		(void)vsnprintf(buf + len, SPT_BUFSIZE - len, fmt, ap);
 
 		nargvp = nargv;
 		nargc = 1;
 		kbuf = buf;
 	} else if (*obuf != '\0') {
-  		/* Idea from NetBSD - reset the title on fmt == NULL */
+		/* Idea from NetBSD - reset the title on fmt == NULL */
 		nargvp = oargv;
 		nargc = oargc;
 		kbuf = obuf;


More information about the svn-src-all mailing list