mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix style nits.
This commit is contained in:
parent
2fe6aefff8
commit
8b3c9fac3c
1 changed files with 3 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue