mirror of https://github.com/xzeldon/htop.git
Sets a non-NULL process state in case of kvm_getlwps(3) returns NULL. Thanks @cgzone.
This commit is contained in:
parent
3770769ed1
commit
fa65c30976
|
@ -224,6 +224,9 @@ static void NetBSDProcessList_scanProcs(NetBSDProcessList* this) {
|
||||||
}
|
}
|
||||||
if (proc->state != '?')
|
if (proc->state != '?')
|
||||||
break;
|
break;
|
||||||
|
} else {
|
||||||
|
proc->state = '?';
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue