X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=fs%2Fext2fs.c;fp=fs%2Fext2fs.c;h=a0a9d876f563c65cb60ff4d015d03820ea714a90;hb=3384f0373c8758e5ddd08f489ad7110898dd5406;hp=bec47fe8e8652940a67e4a22c40b90db7acf1f19;hpb=528b4479a96491431b243bf02da43c792962fb27;p=debian%2Felilo diff --git a/fs/ext2fs.c b/fs/ext2fs.c index bec47fe..a0a9d87 100644 --- a/fs/ext2fs.c +++ b/fs/ext2fs.c @@ -142,7 +142,7 @@ read_bytes(EFI_BLOCK_IO *blkio, UINT32 mediaid, UINTN offset, VOID *addr, UINTN return ret; } - DBG_PRT((L"readblock(%x, %d, %d, %d, %x)", blkio, mediaid, base, buffer_size, buffer)); + DBG_PRT((L"readblock(PTR_FMT ", %d, %ld, %d, " PTR_FMT ")", blkio, mediaid, base, buffer_size, buffer)); status = uefi_call_wrapper(blkio->ReadBlocks, 5, blkio, mediaid, base, buffer_size, buffer); if (EFI_ERROR(status)) { @@ -903,7 +903,7 @@ ext2fs_install_one(EFI_HANDLE dev, VOID **intf) } if (sb.s_magic != EXT2_SUPER_MAGIC) { - DBG_PRT((L"bad magic 0x%x\n", sb.s_magic)); + DBG_PRT((L"bad magic "PTR_FMT"\n", sb.s_magic)); return EFI_INVALID_PARAMETER; }