Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2007 20:29:40 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.sbin/iostat iostat.c
Message-ID:  <200702062029.l16KTejV057880@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702062029.l16KTejV057880>