git.annexia.org
/
hivex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62bce21
)
hivex: display bad block offset in hex
author
Richard Jones
<rjones@redhat.com>
Thu, 21 Jan 2010 16:19:49 +0000
(16:19 +0000)
committer
Richard Jones
<rjones@redhat.com>
Fri, 19 Feb 2010 14:54:29 +0000
(14:54 +0000)
hivex/hivex.c
patch
|
blob
|
history
diff --git
a/hivex/hivex.c
b/hivex/hivex.c
index
73a2138
..
4e36dd4
100644
(file)
--- 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
%zu
, bad registry\n",
+ fprintf (stderr, "hivex: %s: block size %d at
0x%zx
, bad registry\n",
filename, le32toh (block->seg_len), blkoff);
errno = ENOTSUP;
goto error;