mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-26 19:29:04 +00:00
[pxe] Avoid printf format warning on some compilers
Tested-by: Joshua Oreman <oremanj@xenon.get-linux.org>
This commit is contained in:
parent
5552a1b202
commit
2b9f7f042c
@ -724,7 +724,7 @@ PXENV_EXIT_t pxenv_undi_isr ( struct s_PXENV_UNDI_ISR *undi_isr ) {
|
||||
DBGC2 ( &pxenv_undi_isr, " RX" );
|
||||
if ( len > sizeof ( basemem_packet ) ) {
|
||||
/* Should never happen */
|
||||
DBGC2 ( &pxenv_undi_isr, " overlength (%x)", len );
|
||||
DBGC2 ( &pxenv_undi_isr, " overlength (%zx)", len );
|
||||
len = sizeof ( basemem_packet );
|
||||
}
|
||||
memcpy ( basemem_packet, iobuf->data, len );
|
||||
|
Loading…
Reference in New Issue
Block a user