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 ) );
}
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;
}
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) {
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;
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;
}
}
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;
}
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;
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);
NTSTATUS status;
if (frame == NULL) {
- DBG_ERR("No memory");
+ DBG_ERR("No memory\n");
return;
}
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;
}
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;
}
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;
}
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;
}
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;
}
}
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;
}