diff --git a/source3/rpc_server/eventlog/srv_eventlog_nt.c b/source3/rpc_server/eventlog/srv_eventlog_nt.c index dd555f8c533..a946c573143 100644 --- a/source3/rpc_server/eventlog/srv_eventlog_nt.c +++ b/source3/rpc_server/eventlog/srv_eventlog_nt.c @@ -582,7 +582,7 @@ NTSTATUS _eventlog_ClearEventLogW(struct pipes_struct *p, if (r->in.backupfile && r->in.backupfile->string) { DEBUG(8,( "_eventlog_ClearEventLogW: Using [%s] as the backup " - "file name for log [%s].", + "file name for log [%s].\n", r->in.backupfile->string, info->logname ) ); } diff --git a/source3/rpc_server/mdssvc/marshalling.c b/source3/rpc_server/mdssvc/marshalling.c index 0e323fa979e..c85fae79e7e 100644 --- a/source3/rpc_server/mdssvc/marshalling.c +++ b/source3/rpc_server/mdssvc/marshalling.c @@ -90,7 +90,7 @@ static ssize_t sl_push_uint64_val(char *buf, uint64_t val) { if (offset + 8 > max_offset) { - DEBUG(1, ("%s: offset: %zd, max_offset: %zu", + DEBUG(1, ("%s: offset: %zd, max_offset: %zu\n", __func__, offset, max_offset)); return -1; } @@ -634,7 +634,7 @@ static ssize_t sl_pack_loop(DALLOC_CTX *query, char *buf, ssize_t offset, offset = sl_pack_CNID(p, buf, offset, bufsize, toc_buf, toc_idx); } else { - DEBUG(1, ("unknown type: %s", type)); + DEBUG(1, ("unknown type: %s\n", type)); return -1; } if (offset == -1) { @@ -999,7 +999,7 @@ static ssize_t sl_unpack_cpx(DALLOC_CTX *query, buf, offset, slen, encoding); mark_exists = (unicode_encoding & SL_ENC_UTF_16) ? true : false; if (unicode_encoding & SL_ENC_BIG_ENDIAN) { - DEBUG(1, ("Unsupported big endian UTF16 string")); + DEBUG(1, ("Unsupported big endian UTF16 string\n")); return -1; } slen -= mark_exists ? 2 : 0; @@ -1068,7 +1068,7 @@ static ssize_t sl_unpack_cpx(DALLOC_CTX *query, break; default: - DEBUG(1, ("unknown complex query type: %u", cpx_query_type)); + DEBUG(1, ("unknown complex query type: %u\n", cpx_query_type)); return -1; } @@ -1278,7 +1278,7 @@ static ssize_t sl_pack(DALLOC_CTX *query, char *buf, size_t bufsize) } if ((16 + len + ((toc_index + 1 ) * 8)) > bufsize) { - DEBUG(1, ("%s: exceeding size limit %zu", __func__, bufsize)); + DEBUG(1, ("%s: exceeding size limit %zu\n", __func__, bufsize)); return -1; } diff --git a/source3/rpc_server/mdssvc/mdssvc.c b/source3/rpc_server/mdssvc/mdssvc.c index abeaac8263c..e79be666dbe 100644 --- a/source3/rpc_server/mdssvc/mdssvc.c +++ b/source3/rpc_server/mdssvc/mdssvc.c @@ -284,7 +284,7 @@ static bool create_result_handle(struct sl_query *slq) query_results->cnids->ca_unkn1 = 0xadd; if (slq->ctx2 > UINT32_MAX) { - DEBUG(1,("64bit ctx2 id too large: 0x%jx", (uintmax_t)slq->ctx2)); + DEBUG(1,("64bit ctx2 id too large: 0x%jx\n", (uintmax_t)slq->ctx2)); return false; } query_results->cnids->ca_context = (uint32_t)slq->ctx2; diff --git a/source3/rpc_server/rpc_host.c b/source3/rpc_server/rpc_host.c index 2b9f05c1af3..c9ee9a3aca2 100644 --- a/source3/rpc_server/rpc_host.c +++ b/source3/rpc_server/rpc_host.c @@ -1317,7 +1317,7 @@ again: if ((worker->pid == -1) || !worker->available) { DBG_DEBUG("Requested worker index %"PRIu8": " - "pid=%d, available=%d", + "pid=%d, available=%d\n", worker_index, (int)worker->pid, (int)worker->available); diff --git a/source3/rpc_server/rpc_server.c b/source3/rpc_server/rpc_server.c index 6f50ca5fdb5..a60f4294402 100644 --- a/source3/rpc_server/rpc_server.c +++ b/source3/rpc_server/rpc_server.c @@ -97,7 +97,7 @@ void dcesrv_log_successful_authz( NTSTATUS status; if (frame == NULL) { - DBG_ERR("No memory"); + DBG_ERR("No memory\n"); return; } @@ -218,7 +218,7 @@ static NTSTATUS dcesrv_assoc_group_reference(struct dcesrv_call_state *call, transport); DBG_NOTICE("assoc_group 0x%08x (transport %s) " - "is not available on transport %s", + "is not available on transport %s\n", assoc_group_id, at, ct); return NT_STATUS_UNSUCCESSFUL; } diff --git a/source3/rpc_server/rpc_worker.c b/source3/rpc_server/rpc_worker.c index 4f47a0ad4f3..a58b6801f9e 100644 --- a/source3/rpc_server/rpc_worker.c +++ b/source3/rpc_server/rpc_worker.c @@ -626,7 +626,7 @@ static struct dcesrv_assoc_group *rpc_worker_assoc_group_reference( transport); DBG_NOTICE("assoc_group 0x%08x (transport %s) " - "is not available on transport %s", + "is not available on transport %s\n", id, at, ct); return NULL; } diff --git a/source3/rpc_server/spoolss/srv_spoolss_nt.c b/source3/rpc_server/spoolss/srv_spoolss_nt.c index 5a35b6a0e32..ef1051301be 100644 --- a/source3/rpc_server/spoolss/srv_spoolss_nt.c +++ b/source3/rpc_server/spoolss/srv_spoolss_nt.c @@ -324,7 +324,7 @@ static struct printer_handle *find_printer_index_by_hnd(struct pipes_struct *p, struct printer_handle, &status); if (!NT_STATUS_IS_OK(status)) { - DEBUG(2,("find_printer_index_by_hnd: Printer handle not found: ")); + DEBUG(2,("find_printer_index_by_hnd: Printer handle not found: \n")); return NULL; } @@ -7591,7 +7591,7 @@ static WERROR enumjobs_level2(TALLOC_CTX *mem_ctx, pinfo2->printername, &devmode); if (!W_ERROR_IS_OK(result)) { - DEBUG(3, ("Can't proceed w/o a devmode!")); + DEBUG(3, ("Can't proceed w/o a devmode!\n")); goto err_pdb_drop; } @@ -9816,7 +9816,7 @@ static WERROR getjob_level_2(TALLOC_CTX *mem_ctx, pinfo2->printername, &devmode); if (!W_ERROR_IS_OK(result)) { - DEBUG(3, ("Can't proceed w/o a devmode!")); + DEBUG(3, ("Can't proceed w/o a devmode!\n")); return result; } } diff --git a/source3/rpc_server/winreg/srv_winreg_nt.c b/source3/rpc_server/winreg/srv_winreg_nt.c index 3f282d4886e..8ab0f61ebdf 100644 --- a/source3/rpc_server/winreg/srv_winreg_nt.c +++ b/source3/rpc_server/winreg/srv_winreg_nt.c @@ -55,7 +55,7 @@ static struct registry_key *find_regkey_by_hnd(struct pipes_struct *p, struct registry_key, &status); if (!NT_STATUS_IS_OK(status)) { - DEBUG(2,("find_regkey_index_by_hnd: Registry Key not found: ")); + DEBUG(2,("find_regkey_index_by_hnd: Registry Key not found: \n")); return NULL; }