mirror of
https://github.com/samba-team/samba.git
synced 2025-11-21 12:23:50 +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:
committed by
Jeremy Allison
parent
1cea29c398
commit
06aff34586
@@ -1512,7 +1512,7 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg,
|
|||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
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));
|
nt_errstr(status));
|
||||||
DBG_ERR("smbd %s already running, refusing to start "
|
DBG_ERR("smbd %s already running, refusing to start "
|
||||||
"version %s\n", state.version, version);
|
"version %s\n", state.version, version);
|
||||||
@@ -1536,7 +1536,7 @@ static NTSTATUS smbd_claim_version(struct messaging_context *msg,
|
|||||||
NULL,
|
NULL,
|
||||||
NULL);
|
NULL);
|
||||||
if (!NT_STATUS_IS_OK(status)) {
|
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));
|
nt_errstr(status));
|
||||||
TALLOC_FREE(ctx);
|
TALLOC_FREE(ctx);
|
||||||
return status;
|
return status;
|
||||||
|
|||||||
Reference in New Issue
Block a user