[EMAIL PROTECTED] (Dag-Erling Sm�rgrav) writes:
> Peter Pentchev <[EMAIL PROTECTED]> writes:
>> Awwighty, attached is a patch that converts getuptime() and dointr() to
>> use sysctl, and then adds the -a option to display all interrupts.
>> This one was tested on both RELENG_4 and HEAD (ref5) :)
> [...]

Why don't you use sysctlbyname(3) instead of juggling with numeric
names?

DES
-- 
Dag-Erling Sm�rgrav - [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to