Fix FreeBSD compile issue

This issue was previously hidden as xSnprintf expanded to only one large command that didn't trigger the GCC formatting check.
This commit is contained in:
Benny Baumann 2020-09-18 21:55:09 +02:00
parent 736c496dbf
commit dac1e05a2c

View File

@ -355,7 +355,7 @@ char* FreeBSDProcessList_readJailName(struct kinfo_proc* kproc) {
if (jid < 0) {
if (!jail_errmsg[0])
xSnprintf(jail_errmsg, JAIL_ERRMSGLEN, "jail_get: %s", strerror(errno));
return NULL;
return NULL;
} else if (jid == kproc->ki_jid) {
jname = xStrdup(jnamebuf);
if (jname == NULL)