cvs commit: src/usr.bin/systat vmstat.c

Bruce Evans bde at FreeBSD.org
Sun Apr 30 09:14:01 UTC 2006


bde         2006-04-30 09:14:00 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/systat       vmstat.c 
  Log:
  Don't redraw the disk names on every update.  This was apparently done
  to handle changes to the set of disks selected, but it is unnecessary
  for that since the whole screen is redrawn when this set is changed.
  It was also buggy:
  - MAXDRIVES*6 = 42 was hard-coded as only 30 spaces in a string literal,
    the last 2 disk names were not cleared as intended
  - when the extended vmstats are active, clearing of even 30 columns
    overruns the ozfod value field by 3 columns.  This was harmless because
    the field is much wider than necessary.
  
  Revision  Changes    Path
  1.75      +0 -6      src/usr.bin/systat/vmstat.c


More information about the cvs-src mailing list