diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 54b7b8f985b0..217e2efbd991 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -122,10 +122,11 @@ sysctl_kern_cp_times(SYSCTL_HANDLER_ARGS) { struct pcpu *pcpu; int error; - int i, c; + int c; long *cp_time; #ifdef SCTL_MASK32 unsigned int cp_time32[CPUSTATES]; + int i; #endif if (!req->oldptr) {