if (fmt->hive_fmt != FMT_HIVE_PRESERVE) {
const struct hive_info* hinfo = hive_info(hive);
if (hinfo == NULL) {
- DEBUG(0, ("Unknown hive %*s", len, hive));
+ DEBUG(0, ("Unknown hive %*s\n", len, hive));
} else {
switch(fmt->hive_fmt) {
case FMT_HIVE_SHORT:
len = hinfo->long_name_len;
break;
default:
- DEBUG(0, ("Unsupported hive format %d",
+ DEBUG(0, ("Unsupported hive format %d\n",
(int)fmt->hive_fmt));
return -1;
}
talloc_steal(fmt, fmt_ctx);
if (!set_iconv(&fmt->fromUTF16, opt.str_enc, "UTF-16LE")) { /* HACK */
- DEBUG(0, ("reg_format_file: failed to set string encoding %s",
+ DEBUG(0, ("reg_format_file: failed to set string encoding %s\n",
opt.str_enc));
goto fail;
}
if (!set_iconv(&fmt_ctx->fromUnix, opt.enc, "unix")) {
- DEBUG(0, ("reg_format_file: failed to set file encoding %s",
+ DEBUG(0, ("reg_format_file: failed to set file encoding %s\n",
opt.enc));
goto fail;
}
s->flags = flags;
if (str_enc && !set_iconv(&s->str2UTF16, "UTF-16LE", str_enc)) {
- DEBUG(0, ("reg_parse_new: failed to set encoding: %s",
+ DEBUG(0, ("reg_parse_new: failed to set encoding: %s\n",
str_enc));
goto fail;
}
cbuf_clear(tmp);
if (parser->state != STATE_KEY_OPEN) {
- DEBUG(0, ("value \"%s\" without a key at line: %i",
+ DEBUG(0, ("value \"%s\" without a key at line: %i\n",
cbuf_gets(parser->valname, 0), parser->linenum));
return -3;
}
}
else {
DEBUG(0, ("value \"%s\" parse error"
- "at line: %i pos: %li : %s",
+ "at line: %i pos: %li : %s\n",
cbuf_gets(parser->valname, 0), parser->linenum,
(long int)(pos-line), pos));
return -3;