Increase readability for load_uvmexp return
Aaron Marcher me@drkhsh.at
Mon, 21 May 2018 00:29:54 +0200
1 files changed,
5 insertions(+),
1 deletions(-)
jump to
M
components/ram.c
→
components/ram.c
@@ -84,7 +84,11 @@ size_t size;
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 *