X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwimboot.c;h=9270d41587d74c49b2af2c234bb4e32c4cea700b;hp=2d3ab08f8157c5df8a9f46c2e158a9fd8ce1e873;hb=21a3fcc5c5f1793df5719453bef59a33712c5000;hpb=a8464e423049fd5eebc63069a8e48b0216ad8b1e diff --git a/src/wimboot.c b/src/wimboot.c index 2d3ab08f..9270d415 100644 --- a/src/wimboot.c +++ b/src/wimboot.c @@ -209,7 +209,7 @@ retry_ioctl: } else { set_errno_from_win32_error(err); ERROR_WITH_ERRNO("Failed to add overlay source \"%ls\" " - "to volume \"%ls\" (err=0x%08"PRIu32")", + "to volume \"%ls\" (err=0x%08"PRIx32")", wim_path, drive_path + 4, (uint32_t)err); ret = WIMLIB_ERR_WIMBOOT; goto out_close_handle; @@ -282,7 +282,7 @@ wimboot_set_pointer(const wchar_t *path, u64 data_source_id, DWORD err = GetLastError(); set_errno_from_win32_error(err); ERROR_WITH_ERRNO("\"%ls\": Couldn't set WIMBoot pointer data " - "(err=0x%08x)", path, (uint32_t)err); + "(err=0x%08"PRIx32")", path, (uint32_t)err); ret = WIMLIB_ERR_WIMBOOT; goto out_close_handle; }