Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2018 14:37:13 +0000 (UTC)
From:      Mariusz Zaborski <oshogbo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337966 - head/lib/libc/gen
Message-ID:  <201808171437.w7HEbDW3063535@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808171437.w7HEbDW3063535>