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

YONETANI Tomokazu y0netan1 at crater.dragonflybsd.org
Thu Jan 13 04:47:14 PST 2005


y0netan1    2005/01/13 04:45:39 PST

DragonFly src repository

  Modified files:
    usr.bin/systat       iostat.c 
  Log:
  Fix -iostat feature by properly calculating the divisor in stat1().
  Also add a safeguard in histogram() in case a negative value is given
  as the first argument(probably very rare now that our cp_time[] are
  64-bit values).
  
  Revision  Changes    Path
  1.5       +17 -9     src/usr.bin/systat/iostat.c


http://www.dragonflybsd.org/cvsweb/src/usr.bin/systat/iostat.c.diff?r1=1.4&r2=1.5&f=u





More information about the Commits mailing list