1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-26 10:04:02 +03:00

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>
This commit is contained in:
Michael Adam 2014-02-12 11:13:18 +01:00 committed by Jeremy Allison
parent 9c34ae4e42
commit 057adfae47

View File

@ -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);