[2/2,ARI] Remove trailing new-line in argument of call to warning.
Commit Message
gdb/ChangeLog:
* nat/linux-procfs.c (linux_proc_attach_tgid_threads):
Remove trailing new-line in argument of call to warning.
---
gdb/ChangeLog | 5 +++++
gdb/nat/linux-procfs.c | 2 +-
2 files changed, 6 insertions(+), 1 deletion(-)
@@ -1,5 +1,10 @@
2015-01-13 Joel Brobecker <brobecker@adacore.com>
+ * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
+ Remove trailing new-line in argument of call to warning.
+
+2015-01-13 Joel Brobecker <brobecker@adacore.com>
+
* linux-nat.c (attach_proc_task_lwp_callback): Remove trailing
new-line in argument of call to "warning".
@@ -212,7 +212,7 @@ linux_proc_attach_tgid_threads (pid_t pid,
dir = opendir (pathname);
if (dir == NULL)
{
- warning (_("Could not open /proc/%ld/task.\n"), (long) pid);
+ warning (_("Could not open /proc/%ld/task."), (long) pid);
return;
}