Explorar el Código

uptime: Add missing brace

master
Aaron Marcher hace 6 años
padre
commit
54ebd0dabe
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      components/uptime.c

+ 1
- 1
components/uptime.c Ver fichero

@@ -49,7 +49,7 @@ format(int uptime)

size = sizeof(boottime);

if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1)
if (sysctl(mib, 2, &boottime, &size, NULL, 0) == -1) {
fprintf(stderr, "sysctl 'KERN_BOOTTIME': %s\n", strerror(errno));
return NULL;
}


Cargando…
Cancelar
Guardar