Merge branch 'attr-nonnull' of https://github.com/BenBE/htop into BenBE-attr-nonnull

This commit is contained in:
Nathan Scott
2020-10-05 15:57:52 +11:00
18 changed files with 78 additions and 34 deletions

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)