From 72d59e0d89c53be73aedb74b0adbdcc13e93d505 Mon Sep 17 00:00:00 2001 From: Sergio Durigan Junior Date: Sat, 28 Apr 2012 04:52:33 +0000 Subject: [PATCH] 2012-04-28 Sergio Durigan Junior * probe.c (compile_rx_or_error): Silence ARI warning about missing gettext function on `error'. --- gdb/ChangeLog | 5 +++++ gdb/probe.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e364e13930f..570cfc08072 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-28 Sergio Durigan Junior + + * probe.c (compile_rx_or_error): Silence ARI warning about missing + gettext function on `error'. + 2012-04-27 Doug Evans * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table diff --git a/gdb/probe.c b/gdb/probe.c index 4e1b6a03fab..ee94f9c22bb 100644 --- a/gdb/probe.c +++ b/gdb/probe.c @@ -270,7 +270,7 @@ compile_rx_or_error (regex_t *pattern, const char *rx, const char *message) char *err = get_regcomp_error (code, pattern); make_cleanup (xfree, err); - error ("%s: %s", message, err); + error (("%s: %s"), message, err); } } -- 2.30.2