cvs commit: src/usr.sbin/iostat iostat.c

John Baldwin jhb at FreeBSD.org
Tue Feb 6 20:29:41 UTC 2007


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


More information about the cvs-all mailing list