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

@@ -25,7 +25,7 @@ static int legacy_transmit ( struct net_device *netdev, struct io_buffer *iobuf
struct nic *nic = netdev->priv;
struct ethhdr *ethhdr;
DBG ( "Transmitting %d bytes\n", iob_len ( iobuf ) );
DBG ( "Transmitting %zd bytes\n", iob_len ( iobuf ) );
iob_pad ( iobuf, ETH_ZLEN );
ethhdr = iobuf->data;
iob_pull ( iobuf, sizeof ( *ethhdr ) );