* unwind-libdw.c (tcb_init): Do not pass trailing "\n" to error_msg
as the latter prints newline itself.
Dwfl *dwfl = dwfl_begin(&proc_callbacks);
if (dwfl == NULL) {
- error_msg("dwfl_begin: %s\n", dwfl_errmsg(-1));
+ error_msg("dwfl_begin: %s", dwfl_errmsg(-1));
return NULL;
}
msg = strerror(r);
error_msg("dwfl_linux_proc_attach returned an error"
- " for process %d: %s\n", tcp->pid, msg);
+ " for process %d: %s", tcp->pid, msg);
dwfl_end(dwfl);
return NULL;
}