# | 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); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |