Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Apr 2006 09:14:00 +0000 (UTC)
From:      Bruce Evans <bde@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/usr.bin/systat vmstat.c
Message-ID:  <200604300914.k3U9E0Is065619@repoman.freebsd.org>

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



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