--- projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/01/09 12:32:36 1.45 +++ projects/libstatgrab/src/libstatgrab/disk_stats.c 2004/01/10 16:12:34 1.46 @@ -577,6 +577,7 @@ diskio_stat_t *get_diskio_stats(int *entries){ } fclose(f); + f = NULL; if (!has_pp_stats) { /* This is an older kernel where /proc/partitions doesn't