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

Adrian Chadd adrian at FreeBSD.org
Thu Sep 11 09:56:05 UTC 2008


adrian      2008-09-11 09:55:54 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/iostat      iostat.c 
  Log:
  SVN rev 182927 on 2008-09-11 09:55:54Z by adrian
  
  Fix the device name spacing.
  
  The old logic padded the device name out but assumed the unit number was one digit
  long; this fails for things like SATA devices which (for me) begin at ad10.
  
  Assemble the full device name in a temporary buffer and then calcluate padding
  based on that string.
  
  Revision  Changes    Path
  1.43      +5 -5      src/usr.sbin/iostat/iostat.c


More information about the cvs-src mailing list