# | Line 99 | Line 99 | general_stat_t *get_general_stats(){ | |
---|---|---|
99 | fclose(f); | |
100 | #endif | |
101 | #ifdef FREEBSD | |
102 | < | if (sysctlbyname("kern.boottime", NULL, &size, NULL, NULL) < 0){ |
103 | < | return NULL; |
104 | < | } |
105 | < | if (sysctlbyname("kern.boottime", &boottime, &size, NULL, NULL) < 0){ |
102 | > | if (sysctlbyname("kern.boottime", &boottime, &size, NULL, 0) < 0){ |
103 | return NULL; | |
104 | } | |
105 | time(&curtime); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |