git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c34ae4
)
tdb: tdbtool: dump record hash with fixed number of 8 hex digits
author
Michael Adam
<obnox@samba.org>
Wed, 12 Feb 2014 10:13:18 +0000
(11:13 +0100)
committer
Jeremy Allison
<jra@samba.org>
Fri, 14 Feb 2014 23:53:25 +0000
(15:53 -0800)
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/tdb/common/dump.c
patch
|
blob
|
history
diff --git
a/lib/tdb/common/dump.c
b/lib/tdb/common/dump.c
index 7193c1e110e7fe1533bdf3abf69484b17757758e..b2879519d1bce56289a5dc5dd5e62865032d37fc 100644
(file)
--- a/
lib/tdb/common/dump.c
+++ b/
lib/tdb/common/dump.c
@@
-40,7
+40,7
@@
static tdb_off_t tdb_dump_record(struct tdb_context *tdb, int hash,
}
printf(" rec: hash=%d offset=0x%08x next=0x%08x rec_len=%u "
- "key_len=%u data_len=%u full_hash=0x%x magic=0x%x\n",
+ "key_len=%u data_len=%u full_hash=0x%
08
x magic=0x%x\n",
hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len,
rec.full_hash, rec.magic);