summaryrefslogtreecommitdiff
path: root/gdb/probe.c
diff options
context:
space:
mode:
authorSergio Durigan Junior <sergiodj@redhat.com>2012-04-28 04:52:33 +0000
committerSergio Durigan Junior <sergiodj@redhat.com>2012-04-28 04:52:33 +0000
commit72d59e0d89c53be73aedb74b0adbdcc13e93d505 (patch)
treedb49b32243741ca06f1623a0b09b548e999ab8fd /gdb/probe.c
parent0fefef59324ddba64bbefdc63ef85b768f2e93d2 (diff)
downloadbinutils-gdb-72d59e0d89c53be73aedb74b0adbdcc13e93d505.tar.gz
2012-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
* probe.c (compile_rx_or_error): Silence ARI warning about missing gettext function on `error'.
Diffstat (limited to 'gdb/probe.c')
-rw-r--r--gdb/probe.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}