From: Volker Lendecke Date: Fri, 29 Nov 2019 14:45:56 +0000 (+0100) Subject: net: Extend some debug information X-Git-Tag: ldb-2.1.0~376 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ffbc7d923cbe8c51a02e70d7ea8d2b8035b10e;p=thirdparty%2Fsamba.git net: Extend some debug information Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/utils/net_tdb.c b/source3/utils/net_tdb.c index a03cc0e2c09..49dbd04664a 100644 --- a/source3/utils/net_tdb.c +++ b/source3/utils/net_tdb.c @@ -51,7 +51,9 @@ static int net_tdb_locking_fetch(TALLOC_CTX *mem_ctx, const char *hexkey, blob = strhex_to_data_blob(mem_ctx, hexkey); if (blob.length != sizeof(struct file_id)) { - d_printf("Invalid length of key\n"); + d_printf("Invalid length %zu of key, expected %zu\n", + blob.length, + sizeof(struct file_id)); return -1; }