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.11 by tdb, Tue May 21 16:47:12 2002 UTC vs.
Revision 1.12 by pajs, Wed May 22 08:54:53 2002 UTC

# Line 155 | Line 155 | char *get_disk_stats(){
155                  sd=sd_ptr;
156          }
157  
158 <        if ((endmntent(f)) != 0) {
159 <                errf("Failed to close file (%m)");
160 <                return NULL;
161 <        }
158 >        endmntent(f);
159  
160   #endif
161   #ifdef FREEBSD

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines