From 4ef5dbe493310e3632354d4937727a755c13c291 Mon Sep 17 00:00:00 2001 From: Philippe Waroquiers Date: Mon, 17 Dec 2018 06:52:15 +0100 Subject: [PATCH] OBVIOUS: Fix ARI warning by removing warning trailing new line 2018-12-17 Philippe Waroquiers * nat/linux-ptrace.c (kill_child): Fix ARI warning by removing warning trailing new line. --- gdb/ChangeLog | 5 +++++ gdb/nat/linux-ptrace.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 24d0e640b9e..695bc0573b1 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2018-12-17 Philippe Waroquiers + + * nat/linux-ptrace.c (kill_child): Fix ARI warning by removing + warning trailing new line. + 2018-12-16 Philippe Waroquiers * nat/linux-ptrace.c (kill_child): New function. diff --git a/gdb/nat/linux-ptrace.c b/gdb/nat/linux-ptrace.c index 49a1d011bdd..d4c1b8f9fdc 100644 --- a/gdb/nat/linux-ptrace.c +++ b/gdb/nat/linux-ptrace.c @@ -89,7 +89,7 @@ kill_child (pid_t child, const char *who) if (kill (child, SIGKILL) != 0) { - warning (_("%s: failed to kill child pid %ld %s\n"), + warning (_("%s: failed to kill child pid %ld %s"), who, (long) child, safe_strerror (errno)); return; } -- 2.30.2