diff options
author | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-04-28 04:52:33 +0000 |
---|---|---|
committer | Sergio Durigan Junior <sergiodj@redhat.com> | 2012-04-28 04:52:33 +0000 |
commit | 72d59e0d89c53be73aedb74b0adbdcc13e93d505 (patch) | |
tree | db49b32243741ca06f1623a0b09b548e999ab8fd | |
parent | 0fefef59324ddba64bbefdc63ef85b768f2e93d2 (diff) | |
download | gdb-72d59e0d89c53be73aedb74b0adbdcc13e93d505.zip gdb-72d59e0d89c53be73aedb74b0adbdcc13e93d505.tar.gz gdb-72d59e0d89c53be73aedb74b0adbdcc13e93d505.tar.bz2 |
2012-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
* probe.c (compile_rx_or_error): Silence ARI warning about missing
gettext function on `error'.
-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); } } |