From 057adfae4733be2a914aab519fb1cb404d5340c7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Feb 2014 11:13:18 +0100 Subject: tdb: tdbtool: dump record hash with fixed number of 8 hex digits Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- lib/tdb/common/dump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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); -- cgit