diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/probe.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e364e13..570cfc0 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2012-04-28 Sergio Durigan Junior <sergiodj@redhat.com> + + * probe.c (compile_rx_or_error): Silence ARI warning about missing + gettext function on `error'. + 2012-04-27 Doug Evans <dje@google.com> * dwarf2read.c (dwarf2_read_index): Don't use index if symbol table diff --git a/gdb/probe.c b/gdb/probe.c index 4e1b6a0..ee94f9c 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); } } |