{
std::string reason = linux_ptrace_attach_fail_reason_string (ptid, err);
- warning ("Could not attach to thread %ld (LWP %d): %s\n",
+ warning ("Could not attach to thread %ld (LWP %d): %s",
(unsigned long) ti_p->ti_tid, ti_p->ti_lid, reason.c_str ());
return 0;
= make_scoped_restore (¤t_thread, parent_thr);
if (!find_one_thread (child_ptid))
- warning ("Cannot find thread after clone.\n");
+ warning ("Cannot find thread after clone.");
}