aboutsummaryrefslogtreecommitdiff
path: root/gdb/darwin-nat.c
diff options
context:
space:
mode:
authorPierre Muller <muller@sourceware.org>2011-03-18 13:09:47 +0000
committerPierre Muller <muller@sourceware.org>2011-03-18 13:09:47 +0000
commit4f1cdeec1082fcc9fe1dee4475efb00755eea794 (patch)
tree9fa4fe8d094b533595169f17c8bb82c0cd4964d2 /gdb/darwin-nat.c
parent28e698f1b0542f7acbe861fd8add0ddd20238289 (diff)
downloadgdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.zip
gdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.tar.gz
gdb-4f1cdeec1082fcc9fe1dee4475efb00755eea794.tar.bz2
ARI fixes: Messages should have no trailing new lines.
* darwin-nat.c (mach_check_error): Remove trailing new line from warning function call message. * record.c (bfdcore_read): Idem for error call.
Diffstat (limited to 'gdb/darwin-nat.c')
-rw-r--r--gdb/darwin-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c
index 4e316bb..7be85d5 100644
--- a/gdb/darwin-nat.c
+++ b/gdb/darwin-nat.c
@@ -196,7 +196,7 @@ mach_check_error (kern_return_t ret, const char *file,
if (func == NULL)
func = _("[UNKNOWN]");
- warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)\n"),
+ warning (_("Mach error at \"%s:%u\" in function \"%s\": %s (0x%lx)"),
file, line, func, mach_error_string (ret), (unsigned long) ret);
}