[Libguestfs] [PATCH 11/13] hivex: display bad block offset in hex
Jim Meyering
jim at meyering.net
Thu Jan 28 17:26:36 UTC 2010
Richard W.M. Jones wrote:
> Subject: [PATCH 11/13] hivex: display bad block offset in hex
>
> ---
> hivex/hivex.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/hivex/hivex.c b/hivex/hivex.c
> index 4fe8175..1eadee3 100644
> --- a/hivex/hivex.c
> +++ b/hivex/hivex.c
> @@ -459,7 +459,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 %zu, bad registry\n",
> + fprintf (stderr, "hivex: %s: block size %d at 0x%zx, bad registry\n",
Obviously correct.
More information about the Libguestfs
mailing list