mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 09:01:24 +03:00
Various warnings fixups for OpenBSD with gcc-3.3.5.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user