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

Comparing projects/cms/source/ihost/libstatgrab/disk_stat.c (file contents):
Revision 1.7 by tdb, Sat May 18 18:15:56 2002 UTC vs.
Revision 1.8 by pajs, Sun May 19 12:33:53 2002 UTC

# Line 153 | Line 153 | char *get_disk_stats(){
153                  sd_ptr->next_disk=sd;
154                  sd=sd_ptr;
155          }
156 +
157 +        if ((fclose(f)) != 0) {
158 +                errf("Failed to close file (%m)");
159 +                return NULL;
160 +        }
161 +
162   #endif
163   #ifdef FREEBSD
164          nummnt=getmntinfo(&mp , MNT_LOCAL);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines