mirror of https://github.com/pikami/slstatus.git
Increase readability for load_uvmexp return
This commit is contained in:
parent
ec5c35ec9f
commit
bae576cd22
|
@ -84,7 +84,11 @@
|
|||
|
||||
size = sizeof(*uvmexp);
|
||||
|
||||
return sysctl(uvmexp_mib, 2, uvmexp, &size, NULL, 0) >= 0 ? 1 : 0;
|
||||
if (sysctl(uvmexp_mib, 2, uvmexp, &size, NULL, 0) >= 0) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
const char *
|
||||
|
|
Loading…
Reference in New Issue