1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-22 22:04:08 +03:00

smbd: Fix DEBUG messages

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Volker Lendecke 2024-06-14 18:28:10 +02:00 committed by Jeremy Allison
parent 1cea29c398
commit 06aff34586

View File

@ -1512,7 +1512,7 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg,
NULL,
NULL);
if (!NT_STATUS_IS_OK(status)) {
DBG_WARNING("g_lock_lock(G_LOCK_WRITE) failed: %s\n",
DBG_WARNING("g_lock_lock(G_LOCK_UPGRADE) failed: %s\n",
nt_errstr(status));
DBG_ERR("smbd %s already running, refusing to start "
"version %s\n", state.version, version);
@ -1536,7 +1536,7 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg,
NULL,
NULL);
if (!NT_STATUS_IS_OK(status)) {
DBG_WARNING("g_lock_lock(G_LOCK_READ) failed: %s\n",
DBG_WARNING("g_lock_lock(G_LOCK_DOWNGRADE) failed: %s\n",
nt_errstr(status));
TALLOC_FREE(ctx);
return status;