diff --git a/libcli/dns/dns_lookup.c b/libcli/dns/dns_lookup.c index cb0ede80f98..646d0a8b594 100644 --- a/libcli/dns/dns_lookup.c +++ b/libcli/dns/dns_lookup.c @@ -205,7 +205,7 @@ static void dns_lookup_done(struct tevent_req *subreq) if (i == state->num_nameservers) { /* should never happen */ - DBG_WARNING("Failed to find subreq"); + DBG_WARNING("Failed to find subreq\n"); tevent_req_error(req, EINVAL); return; } diff --git a/libcli/http/http.c b/libcli/http/http.c index d20fc25f9e2..96c573af137 100644 --- a/libcli/http/http.c +++ b/libcli/http/http.c @@ -208,7 +208,7 @@ static bool http_parse_response_line(struct http_read_response_state *state) } if (code == 0) { - DEBUG(0, ("%s: Bad response code '%d'", __func__, code)); + DEBUG(0, ("%s: Bad response code '%d'\n", __func__, code)); status = false; goto error; } @@ -330,7 +330,7 @@ static enum http_read_status http_parse_buffer(struct http_read_response_state * /* All read */ return HTTP_ALL_DATA_READ; default: - DEBUG(0, ("%s: Illegal parser state %d", __func__, + DEBUG(0, ("%s: Illegal parser state %d\n", __func__, state->parser_state)); break; } diff --git a/libcli/named_pipe_auth/npa_tstream.c b/libcli/named_pipe_auth/npa_tstream.c index f84440fe755..48ac78573ce 100644 --- a/libcli/named_pipe_auth/npa_tstream.c +++ b/libcli/named_pipe_auth/npa_tstream.c @@ -1213,7 +1213,7 @@ reply: ndr_err = ndr_push_struct_blob(&out, state, &pipe_reply, (ndr_push_flags_fn_t)ndr_push_named_pipe_auth_rep); if (!NDR_ERR_CODE_IS_SUCCESS(ndr_err)) { - DEBUG(2, ("Error encoding structure: %s", + DEBUG(2, ("Error encoding structure: %s\n", ndr_map_error2string(ndr_err))); tevent_req_error(req, EIO); return; @@ -1235,7 +1235,7 @@ reply: state->plain, &state->out_iov, 1); if (tevent_req_nomem(subreq, req)) { - DEBUG(0, ("no memory for tstream_writev_send")); + DEBUG(0, ("no memory for tstream_writev_send\n")); return; } diff --git a/libcli/smb/smb2cli_create.c b/libcli/smb/smb2cli_create.c index a5a724e1f4f..dbad297a3f0 100644 --- a/libcli/smb/smb2cli_create.c +++ b/libcli/smb/smb2cli_create.c @@ -206,7 +206,7 @@ static NTSTATUS smb2cli_parse_symlink_error_response( symlink_length = IVAL(buf, 0); if (symlink_length != (buflen-4)) { - DBG_DEBUG("symlink_length=%"PRIu32", (buflen-4)=%zu", + DBG_DEBUG("symlink_length=%"PRIu32", (buflen-4)=%zu\n", symlink_length, buflen-4); return NT_STATUS_INVALID_NETWORK_RESPONSE; }