From 56f93f21114588e7cef8cf837a57ceaad9f9b8bc Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 4 Nov 2019 07:39:48 +0100 Subject: smbd: Use file_id_str_buf() in process_kernel_oplock_break() Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/smbd/oplock.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source3') diff --git a/source3/smbd/oplock.c b/source3/smbd/oplock.c index 1b3288991fa..b62f926d4e3 100644 --- a/source3/smbd/oplock.c +++ b/source3/smbd/oplock.c @@ -1104,6 +1104,7 @@ static void process_kernel_oplock_break(struct messaging_context *msg_ctx, DATA_BLOB *data) { struct file_id id; + struct file_id_buf idbuf; unsigned long file_id; files_struct *fsp; struct smbd_server_connection *sconn = @@ -1125,9 +1126,10 @@ static void process_kernel_oplock_break(struct messaging_context *msg_ctx, pull_file_id_24((char *)data->data, &id); file_id = (unsigned long)IVAL(data->data, 24); - DEBUG(10, ("Got kernel oplock break message from pid %s: %s/%u\n", - server_id_str_buf(src, &tmp), file_id_string_tos(&id), - (unsigned int)file_id)); + DBG_DEBUG("Got kernel oplock break message from pid %s: %s/%u\n", + server_id_str_buf(src, &tmp), + file_id_str_buf(id, &idbuf), + (unsigned int)file_id); fsp = initial_break_processing(sconn, id, file_id); -- cgit v1.2.1