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.76 by ats, Sat Nov 6 15:33:40 2004 UTC vs.
Revision 1.77 by ats, Sat Nov 6 15:36:29 2004 UTC

# Line 413 | Line 413 | sg_disk_io_stats *sg_get_disk_io_stats(int *entries){
413          
414                          num_diskio++;
415          
416 +                        /* FIXME This should use a static cache, like the Linux
417 +                         * code below. */
418                          if (diskio_stats_ptr->disk_name == NULL) {
419                                  dh = opendir("/dev/dsk");
420                                  if (dh == NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines