diff options
author | Richard Jones <rjones@redhat.com> | 2010-01-21 17:07:21 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-01-28 11:25:30 +0000 |
commit | c052b36385a56df3017b7e75a610add2b2cdea5a (patch) | |
tree | 4b18a305879ef086bbf62356889e45adae962d08 /hivex/hivex.c | |
parent | cb2ec65d5e4a4174b0f24635b971eeb2cdd964ff (diff) | |
download | libguestfs-c052b36385a56df3017b7e75a610add2b2cdea5a.tar.gz libguestfs-c052b36385a56df3017b7e75a610add2b2cdea5a.tar.xz libguestfs-c052b36385a56df3017b7e75a610add2b2cdea5a.zip |
hivex: Display incorrect block size as unsigned in an error message.
Diffstat (limited to 'hivex/hivex.c')
-rw-r--r-- | hivex/hivex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hivex/hivex.c b/hivex/hivex.c index 4e36dd48..81767adb 100644 --- a/hivex/hivex.c +++ b/hivex/hivex.c @@ -442,7 +442,7 @@ hivex_open (const char *filename, int flags) int used; seg_len = block_len (h, blkoff, &used); if (seg_len <= 4 || (seg_len & 3) != 0) { - fprintf (stderr, "hivex: %s: block size %d at 0x%zx, bad registry\n", + fprintf (stderr, "hivex: %s: block size %" PRIu32 " at 0x%zx, bad registry\n", filename, le32toh (block->seg_len), blkoff); errno = ENOTSUP; goto error; |