]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: print lease key using hex format in get_lease_type()
authorRalph Boehme <slow@samba.org>
Wed, 2 Oct 2024 05:46:48 +0000 (07:46 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 Nov 2024 14:39:30 +0000 (14:39 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=15608

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/smbd/smb2_oplock.c

index f3155ff0c45c74986a7fb6b566b0916a668ef036..3ddf24d7fdd1b8121495780dbc37463c2de68d6c 100644 (file)
@@ -218,7 +218,7 @@ uint32_t get_lease_type(struct share_mode_entry *e, struct file_id id)
                return 0;
        }
        DBG_ERR("leases_db_get for client_guid [%s] "
-               "lease_key [%"PRIu64"/%"PRIu64"] "
+               "lease_key [%"PRIx64"/%"PRIx64"] "
                "file_id [%s] failed: %s\n",
                GUID_buf_string(&e->client_guid, &guid_strbuf),
                e->lease_key.data[0],