summaryrefslogtreecommitdiffstats
path: root/lib/tdb/common
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-02-12 11:14:26 +0100
committerJeremy Allison <jra@samba.org>2014-02-14 15:53:25 -0800
commitadb2cd1eee69550fa58d8cb11441b7174dccae5b (patch)
treee155fb5a0a248a162d7cb5c7621ef9592f428f56 /lib/tdb/common
parent057adfae4733be2a914aab519fb1cb404d5340c7 (diff)
downloadsamba-adb2cd1eee69550fa58d8cb11441b7174dccae5b.tar.gz
samba-adb2cd1eee69550fa58d8cb11441b7174dccae5b.tar.xz
samba-adb2cd1eee69550fa58d8cb11441b7174dccae5b.zip
tdb: tdbtool: dump record magic 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/tdb/common')
-rw-r--r--lib/tdb/common/dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tdb/common/dump.c b/lib/tdb/common/dump.c
index b2879519d1..5f6a78b2c8 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);