diff options
Diffstat (limited to 'util/libreboot-utils/nvmutil.c')
| -rw-r--r-- | util/libreboot-utils/nvmutil.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/util/libreboot-utils/nvmutil.c b/util/libreboot-utils/nvmutil.c index 46e4a15c..66e47ec8 100644 --- a/util/libreboot-utils/nvmutil.c +++ b/util/libreboot-utils/nvmutil.c @@ -6,10 +6,6 @@ * These images configure your Intel Gigabit Ethernet adapter. */ -#ifndef _GNU_SOURCE -#define _GNU_SOURCE 1 -#endif - #include <sys/types.h> #include <sys/stat.h> @@ -112,8 +108,8 @@ exit_cleanup(void) f = &x->f; /* close fds if still open */ - close_on_eintr(&f->tmp_fd); - close_on_eintr(&f->gbe_fd); + xclose(&f->tmp_fd); + xclose(&f->gbe_fd); /* unlink tmpfile if it exists */ if (f->tname != NULL) { |
