From: Sergio Durigan Junior Date: Sat, 28 Apr 2012 04:52:33 +0000 (+0000) Subject: 2012-04-28 Sergio Durigan Junior X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72d59e0d89c53be73aedb74b0adbdcc13e93d505;p=binutils-gdb.git 2012-04-28 Sergio Durigan Junior * probe.c (compile_rx_or_error): Silence ARI warning about missing gettext function on `error'. --- 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); } }