This website works better with JavaScript.
Home
Explore
Help
Sign In
rinri
/
slstatus
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Increase readability for load_uvmexp return
master
Aaron Marcher
6 years ago
parent
ec5c35ec9f
commit
bae576cd22
1 changed files
with
5 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
components/ram.c
+ 5
- 1
components/ram.c
View File
@@ -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 *
Write
Preview
Loading…
Cancel
Save