diff options
author | Michael Brown | 2007-12-07 01:11:43 +0100 |
---|---|---|
committer | Michael Brown | 2007-12-07 01:11:43 +0100 |
commit | df868476e7872c3ebd8c6e2a21f8365858907dc7 (patch) | |
tree | c38e7ca65bc32afd869a2e949f573e37cd174e96 /src/image | |
parent | Fix prototype mismatch. (diff) | |
download | ipxe-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.c | 2 |
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; |