diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-09-18 21:55:09 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-09-29 17:41:31 +0200 |
commit | dac1e05a2c7ac68993f6d046c43fbef209458206 (patch) | |
tree | 03dbc8fe4fd3f2e3f3636953dfae4771c6d5dbe1 /freebsd | |
parent | 736c496dbf15c1a665ba7e0b03d7994117a0b215 (diff) |
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.
Diffstat (limited to 'freebsd')
-rw-r--r-- | freebsd/FreeBSDProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/FreeBSDProcessList.c b/freebsd/FreeBSDProcessList.c index 11cfe7e1..6e7f6ecb 100644 --- a/freebsd/FreeBSDProcessList.c +++ b/freebsd/FreeBSDProcessList.c @@ -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) |