Sets a non-NULL process state in case of kvm_getlwps(3) returns NULL. Thanks @cgzone.

This commit is contained in:
fraggerfox 2021-04-27 17:19:35 +05:30 committed by BenBE
parent 3770769ed1
commit fa65c30976
1 changed files with 17 additions and 14 deletions

View File

@ -224,6 +224,9 @@ static void NetBSDProcessList_scanProcs(NetBSDProcessList* this) {
} }
if (proc->state != '?') if (proc->state != '?')
break; break;
} else {
proc->state = '?';
break;
} }
} }
break; break;