diff options
author | Michael Adam <obnox@samba.org> | 2014-02-12 11:13:18 +0100 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-02-14 15:53:25 -0800 |
commit | 057adfae4733be2a914aab519fb1cb404d5340c7 (patch) | |
tree | 2325054e00ee0bc4141af5ed5609c3dbf7ab766b /lib | |
parent | 9c34ae4e42efd7a6080dd3d34d30bcda04cc4f6f (diff) | |
download | samba-057adfae4733be2a914aab519fb1cb404d5340c7.tar.gz samba-057adfae4733be2a914aab519fb1cb404d5340c7.tar.xz samba-057adfae4733be2a914aab519fb1cb404d5340c7.zip |
tdb: tdbtool: dump record hash with fixed number of 8 hex digits
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tdb/common/dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/dump.c b/lib/tdb/common/dump.c index 7193c1e110..b2879519d1 100644 --- 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%08x magic=0x%x\n", hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, rec.full_hash, rec.magic); |