Imported Upstream version 3.10
[debian/elilo] / initrd.c
index ac3b91db4a5b8b88374110a6384f283d6fc96b5f..581abda225eeb66b2fb382892e26dfe402f84127 100644 (file)
--- a/initrd.c
+++ b/initrd.c
@@ -77,9 +77,9 @@ load_file(CHAR16 *filename, memdesc_t *image)
                         filename));
                goto error;
        }
-       VERB_PRT(2, Print(L"%s image: total_size: %ld bytes base: 0x%lx "
+       VERB_PRT(2, Print(L"%s image: total_size: %d bytes base: " PTR_FMT " "
                          "pages %d\n", filename, image->size,
-                         (UINTN)start_addr, pgcnt));
+                         start_addr, pgcnt));
 
        Print(L"Loading file %s...", filename);