]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Fix a debug message hickup
authorVolker Lendecke <vl@samba.org>
Thu, 5 Sep 2019 07:52:10 +0000 (09:52 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 17 Sep 2019 22:49:36 +0000 (22:49 +0000)
Mind the missing space before "(e.g. another...". While there, avoid
casts.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/durable.c

index 2863b41b354c3849edb01f33cff9073f4a5b93cc..c1e0c869822e586f46cafdd4cf2debdc54fa266b 100644 (file)
@@ -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;
        }