DragonFly BSD
DragonFly commits List (threaded) for 2005-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: YONETANI Tomokazu <y0netan1@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 13 Jan 2005 04:45:39 -0800 (PST)

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]