hi there. does this look right?
cheers. alex
Index: lib/libkvm/kvm_proc.c =================================================================== --- lib/libkvm/kvm_proc.c (revision 204763) +++ lib/libkvm/kvm_proc.c (working copy) @@ -371,7 +371,7 @@ * to convert cputicks to usecs. The kernel does it in * kern/kern_tc.c, but the function can't be just copied. */ - bintime2timeval(&proc.p_rux.rux_runtime, &tv); + bintime2timeval((struct bintime *)proc.p_rux.rux_runtime, &tv); kp->ki_runtime = (u_int64_t)tv.tv_sec * 1000000 + tv.tv_usec; kp->ki_pid = proc.p_pid; kp->ki_siglist = proc.p_siglist;
_______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"