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