summaryrefslogtreecommitdiff
path: root/src/bios_reader
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2008-03-11 13:54:33 -0400
committerKristian Høgsberg <krh@redhat.com>2008-03-11 13:54:59 -0400
commit4ea67e9b853e9ed61557780b87bd184fc81fd731 (patch)
tree36c32aee859a028272b7904711784042930b8cc7 /src/bios_reader
parent9fd13e6773371c82b9799a5bda7c96ffa5cafe8c (diff)
Crack down on warnings.
Fix printf formatting warnings, wrap a couple of long lines, nuke unused variables, add missing #include <unistd.h>.
Diffstat (limited to 'src/bios_reader')
-rw-r--r--src/bios_reader/bios_dumper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bios_reader/bios_dumper.c b/src/bios_reader/bios_dumper.c
index 6f163d56..e2f3064e 100644
--- a/src/bios_reader/bios_dumper.c
+++ b/src/bios_reader/bios_dumper.c
@@ -31,6 +31,7 @@
#include <stdarg.h>
#include <sys/stat.h>
#include <fcntl.h>
+#include <unistd.h>
#include <errno.h>
#include <pciaccess.h>
#include <err.h>