jhb 2007-02-06 20:29:40 UTC
FreeBSD src repository
Modified files:
usr.sbin/iostat iostat.c
Log:
Make iostat(8) fully work on crash dumps again (broken since 5.0):
- Pass the address of the variable we are reading to kvm_read() rather
than the index into the nlist array.
- Properly report errors from kvm_read() which returns -1 on error, not
0.
MFC after: 3 days
Revision Changes Path
1.32 +6 -5 src/usr.sbin/iostat/iostat.c
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"