| # | Line 18 | Line 18 | |
|---|---|---|
| 18 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | |
| 19 | */ | |
| 20 | ||
| 21 | + | #ifdef HAVE_CONFIG_H |
| 22 | + | #include "config.h" |
| 23 | + | #endif |
| 24 | + | |
| 25 | #include <stdlib.h> | |
| 26 | #include <stdio.h> | |
| 27 | #include "ukcprog.h" | |
| # | Line 155 | Line 159 | char *get_disk_stats(){ | |
| 159 | sd=sd_ptr; | |
| 160 | } | |
| 161 | ||
| 162 | < | if ((endmntent(f)) != 0) { |
| 159 | < | errf("Failed to close file (%m)"); |
| 160 | < | return NULL; |
| 161 | < | } |
| 162 | > | endmntent(f); |
| 163 | ||
| 164 | #endif | |
| 165 | #ifdef FREEBSD | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |