[ARI] Remove trailing new-line in argument of call to warning.
authorJoel Brobecker <brobecker@adacore.com>
Tue, 13 Jan 2015 10:36:34 +0000 (14:36 +0400)
committerJoel Brobecker <brobecker@adacore.com>
Tue, 13 Jan 2015 10:38:19 +0000 (14:38 +0400)
gdb/ChangeLog:

        * nat/linux-procfs.c (linux_proc_attach_tgid_threads):
        Remove trailing new-line in argument of call to warning.

gdb/ChangeLog
gdb/nat/linux-procfs.c

index 7ee17d796610942881d138f7c14bf26ca25a759f..bb668302c5ba738bf1706ed827f7aa07f81bb737 100644 (file)
@@ -1,3 +1,8 @@
+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
index 00b6a7046240b7e5a180ccfe571c1c1cbec96968..5dd2b925d8740907c67366c1471206c788b030e1 100644 (file)
@@ -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;
     }