]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
net: Extend some debug information
authorVolker Lendecke <vl@samba.org>
Fri, 29 Nov 2019 14:45:56 +0000 (15:45 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 9 Dec 2019 16:10:38 +0000 (16:10 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/utils/net_tdb.c

index a03cc0e2c096b97a8400b7074afdb03dc4b25eb3..49dbd04664a3a246c2e32d1da8ec52c6153a4bac 100644 (file)
@@ -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;
        }