Various warnings fixups for OpenBSD with gcc-3.3.5.

This commit is contained in:
Michael Brown
2007-12-07 00:11:43 +00:00
parent 64787bad29
commit df868476e7
17 changed files with 37 additions and 37 deletions

View File

@@ -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;