summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/image/nbi.c
diff options
context:
space:
mode:
authorMichael Brown2007-12-06 21:16:46 +0100
committerMichael Brown2007-12-06 21:16:46 +0100
commit1949641d102b0fdc8d4314abaee9ba055481fcc0 (patch)
tree0c302355c988e9b1d2c942bb1cc6d6170a933944 /src/arch/i386/image/nbi.c
parentKill off some warnings-problematic debug statements in ndp.c; the code (diff)
downloadipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.gz
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.tar.xz
ipxe-1949641d102b0fdc8d4314abaee9ba055481fcc0.zip
Fix compiler warnings that appear only on OpenBSD.
Diffstat (limited to 'src/arch/i386/image/nbi.c')
-rw-r--r--src/arch/i386/image/nbi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/image/nbi.c b/src/arch/i386/image/nbi.c
index a1d74553..195cfbf7 100644
--- a/src/arch/i386/image/nbi.c
+++ b/src/arch/i386/image/nbi.c
@@ -233,7 +233,7 @@ static int nbi_process_segments ( struct image *image,
} while ( ! NBI_LAST_SEGHEADER ( sh.flags ) );
if ( offset != image->len ) {
- DBGC ( image, "NBI %p length wrong (file %d, metadata %d)\n",
+ DBGC ( image, "NBI %p length wrong (file %zd, metadata %zd)\n",
image, image->len, offset );
return -ENOEXEC;
}