Fix printf format warning error
authorMichael Brown <mcb30@etherboot.org>
Thu, 25 May 2006 00:02:27 +0000 (00:02 +0000)
committerMichael Brown <mcb30@etherboot.org>
Thu, 25 May 2006 00:02:27 +0000 (00:02 +0000)
src/arch/i386/firmware/pcbios/hidemem.c

index d8f0133..6ea5c5b 100644 (file)
@@ -73,8 +73,9 @@ void hide_etherboot ( void ) {
        hidden_regions[TEXT].start = virt_to_phys ( _text );
        hidden_regions[TEXT].end = virt_to_phys ( _end );
 
-       DBG ( "Hiding [%x,%x)\n", hidden_regions[TEXT].start,
-             hidden_regions[TEXT].end );
+       DBG ( "Hiding [%lx,%lx)\n",
+             ( unsigned long ) hidden_regions[TEXT].start,
+             ( unsigned long ) hidden_regions[TEXT].end );
 
        hook_bios_interrupt ( 0x15, ( unsigned int ) int15,
                              &int15_vector );