From 2b9f7f042ceca5acb1c37d76e9791f8f56a173f6 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 2 Aug 2009 22:40:58 +0100 Subject: [PATCH] [pxe] Avoid printf format warning on some compilers Tested-by: Joshua Oreman --- src/arch/i386/interface/pxe/pxe_undi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/i386/interface/pxe/pxe_undi.c b/src/arch/i386/interface/pxe/pxe_undi.c index 4dcae44e..ddaae844 100644 --- a/src/arch/i386/interface/pxe/pxe_undi.c +++ b/src/arch/i386/interface/pxe/pxe_undi.c @@ -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 );