smbd: Fix a typo
authorVolker Lendecke <vl@samba.org>
Fri, 24 May 2019 12:46:19 +0000 (14:46 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 28 May 2019 20:27:15 +0000 (20:27 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/locking/share_mode_lock.c

index a20de67b34ab07ec2517002b40c45d62778d0335..92902af3fe775debc0748597510a318c8e229c21 100644 (file)
@@ -317,8 +317,8 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX *mem_ctx,
        ndr_err = ndr_pull_struct_blob_all(
                &blob, d, d, (ndr_pull_flags_fn_t)ndr_pull_share_mode_data);
        if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) {
-               DEBUG(1, ("ndr_pull_share_mode_lock failed: %s\n",
-                         ndr_errstr(ndr_err)));
+               DBG_WARNING("ndr_pull_share_mode_data failed: %s\n",
+                           ndr_errstr(ndr_err));
                goto fail;
        }