ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/libstatgrab/src/libstatgrab/disk_stats.c
(Generate patch)

Comparing projects/libstatgrab/src/libstatgrab/disk_stats.c (file contents):
Revision 1.75 by ats, Sat Nov 6 15:32:33 2004 UTC vs.
Revision 1.76 by ats, Sat Nov 6 15:33:40 2004 UTC

# Line 393 | Line 393 | sg_disk_io_stats *sg_get_disk_io_stats(int *entries){
393          
394                          /* We can't seperate the reads from the writes, we'll
395                             just give the same to each. */
396 <                        rbytes = wbytes = (di->psd_dkwds * 64);
396 >                        rbytes = wbytes = di->psd_dkwds / 2;
397          
398                          /* Skip unused disks. */
399                          if (rbytes == 0 && wbytes == 0) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines