From: Joel Brobecker Date: Tue, 13 Jan 2015 10:36:34 +0000 (+0400) Subject: [ARI] Remove trailing new-line in argument of call to warning. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92fc2e6978d9a7c8324c7e851dbee59e22ec7a37;p=binutils-gdb.git [ARI] Remove trailing new-line in argument of call to warning. gdb/ChangeLog: * nat/linux-procfs.c (linux_proc_attach_tgid_threads): Remove trailing new-line in argument of call to warning. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7ee17d79661..bb668302c5b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2015-01-13 Joel Brobecker + + * nat/linux-procfs.c (linux_proc_attach_tgid_threads): + Remove trailing new-line in argument of call to warning. + 2015-01-13 Joel Brobecker * linux-nat.c (attach_proc_task_lwp_callback): Remove trailing diff --git a/gdb/nat/linux-procfs.c b/gdb/nat/linux-procfs.c index 00b6a704624..5dd2b925d87 100644 --- a/gdb/nat/linux-procfs.c +++ b/gdb/nat/linux-procfs.c @@ -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; }