summaryrefslogtreecommitdiffstats
path: root/src/image
diff options
context:
space:
mode:
authorMichael Brown2007-12-07 01:11:43 +0100
committerMichael Brown2007-12-07 01:11:43 +0100
commitdf868476e7872c3ebd8c6e2a21f8365858907dc7 (patch)
treec38e7ca65bc32afd869a2e949f573e37cd174e96 /src/image
parentFix prototype mismatch. (diff)
downloadipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.gz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.tar.xz
ipxe-df868476e7872c3ebd8c6e2a21f8365858907dc7.zip
Various warnings fixups for OpenBSD with gcc-3.3.5.
Diffstat (limited to 'src/image')
-rw-r--r--src/image/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/image/script.c b/src/image/script.c
index c8821522..a24bc09a 100644
--- a/src/image/script.c
+++ b/src/image/script.c
@@ -66,7 +66,7 @@ static int script_exec ( struct image *image ) {
if ( ! eol )
eol = memchr ( cmdbuf, '\0', sizeof ( cmdbuf ) );
if ( ! eol ) {
- DBG ( "Script line too long (max %d bytes)\n",
+ DBG ( "Script line too long (max %zd bytes)\n",
sizeof ( cmdbuf ) );
rc = -ENOEXEC;
goto done;