diff options
Diffstat (limited to 'libbb/xregcomp.c')
-rw-r--r-- | libbb/xregcomp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xregcomp.c b/libbb/xregcomp.c index abfa35ff1..61efb5bc6 100644 --- a/libbb/xregcomp.c +++ b/libbb/xregcomp.c | |||
@@ -27,6 +27,6 @@ void FAST_FUNC xregcomp(regex_t *preg, const char *regex, int cflags) | |||
27 | { | 27 | { |
28 | char *errmsg = regcomp_or_errmsg(preg, regex, cflags); | 28 | char *errmsg = regcomp_or_errmsg(preg, regex, cflags); |
29 | if (errmsg) { | 29 | if (errmsg) { |
30 | bb_error_msg_and_die("xregcomp: %s", errmsg); | 30 | bb_error_msg_and_die("bad regex '%s': %s", regex, errmsg); |
31 | } | 31 | } |
32 | } | 32 | } |