From: Ralph Boehme Date: Wed, 2 Oct 2024 05:46:48 +0000 (+0200) Subject: smbd: print lease key using hex format in get_lease_type() X-Git-Tag: tdb-1.4.13~726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee574aef90857126caedf9db4d287cf579b4ccb;p=thirdparty%2Fsamba.git smbd: print lease key using hex format in get_lease_type() BUG: https://bugzilla.samba.org/show_bug.cgi?id=15608 Signed-off-by: Ralph Boehme Reviewed-by: Stefan Metzmacher --- diff --git a/source3/smbd/smb2_oplock.c b/source3/smbd/smb2_oplock.c index f3155ff0c45..3ddf24d7fdd 100644 --- a/source3/smbd/smb2_oplock.c +++ b/source3/smbd/smb2_oplock.c @@ -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],