Sfoglia il codice sorgente

Increase readability for load_uvmexp return

master
Aaron Marcher 6 anni fa
parent
commit
bae576cd22
1 ha cambiato i file con 5 aggiunte e 1 eliminazioni
  1. +5
    -1
      components/ram.c

+ 5
- 1
components/ram.c Vedi 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 *


Caricamento…
Annulla
Salva