From adb2cd1eee69550fa58d8cb11441b7174dccae5b Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 12 Feb 2014 11:14:26 +0100 Subject: [PATCH] tdb: tdbtool: dump record magic 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(-) diff --git a/lib/tdb/common/dump.c b/lib/tdb/common/dump.c index b2879519d1b..5f6a78b2c8e 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%08x magic=0x%x\n", + "key_len=%u data_len=%u full_hash=0x%08x magic=0x%08x\n", hash, offset, rec.next, rec.rec_len, rec.key_len, rec.data_len, rec.full_hash, rec.magic); -- 2.11.4.GIT