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

@@ -74,7 +74,7 @@ static int eth_rx ( struct io_buffer *iobuf, struct net_device *netdev ) {
/* Sanity check */
if ( iob_len ( iobuf ) < sizeof ( *ethhdr ) ) {
DBG ( "Ethernet packet too short (%d bytes)\n",
DBG ( "Ethernet packet too short (%zd bytes)\n",
iob_len ( iobuf ) );
free_iob ( iobuf );
return -EINVAL;