Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[pxe] Avoid printf format warning on some compilers
Tested-by: Joshua Oreman <oremanj@xenon.get-linux.org>
  • Loading branch information
Michael Brown committed Aug 2, 2009
1 parent 5552a1b commit 2b9f7f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/arch/i386/interface/pxe/pxe_undi.c
Expand Up @@ -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 );
Expand Down

0 comments on commit 2b9f7f0

Please sign in to comment.