--- projects/libstatgrab/src/libstatgrab/cpu_stats.c 2003/10/18 22:15:35 1.11 +++ projects/libstatgrab/src/libstatgrab/cpu_stats.c 2003/10/18 23:04:23 1.12 @@ -105,6 +105,7 @@ cpu_states_t *get_cpu_totals(){ cpu_now.total=cpu_now.user+cpu_now.nice+cpu_now.kernel+cpu_now.idle; #endif #ifdef FREEBSD + size = sizeof cp_time; if (sysctlbyname("kern.cp_time", &cp_time, &size, NULL, 0) < 0){ return NULL; }