From: Volker Lendecke Date: Thu, 5 Sep 2019 07:52:10 +0000 (+0200) Subject: smbd: Fix a debug message hickup X-Git-Tag: talloc-2.3.1~817 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0aa1e09988690ecb8f5caa7201b4a622fc22be5;p=thirdparty%2Fsamba.git smbd: Fix a debug message hickup Mind the missing space before "(e.g. another...". While there, avoid casts. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/smbd/durable.c b/source3/smbd/durable.c index 2863b41b354..c1e0c869822 100644 --- a/source3/smbd/durable.c +++ b/source3/smbd/durable.c @@ -625,11 +625,11 @@ NTSTATUS vfs_default_durable_reconnect(struct connection_struct *conn, } if (e->share_file_id != op->global->open_persistent_id) { - DEBUG(5, ("vfs_default_durable_reconnect: denying durable " - "share_file_id changed %llu != %llu" - "(e.g. another client had opened the file)\n", - (unsigned long long)e->share_file_id, - (unsigned long long)op->global->open_persistent_id)); + DBG_INFO("denying durable " + "share_file_id changed %"PRIu64" != %"PRIu64" " + "(e.g. another client had opened the file)\n", + e->share_file_id, + op->global->open_persistent_id); TALLOC_FREE(lck); return NT_STATUS_OBJECT_NAME_NOT_FOUND; }