summaryrefslogtreecommitdiff
path: root/libbb/xregcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/xregcomp.c')
-rw-r--r--libbb/xregcomp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xregcomp.c b/libbb/xregcomp.c
index 07cf779..56746ac 100644
--- a/libbb/xregcomp.c
+++ b/libbb/xregcomp.c
@@ -34,7 +34,7 @@ void xregcomp(regex_t *preg, const char *regex, int cflags)
int errmsgsz = regerror(ret, preg, NULL, 0);
char *errmsg = xmalloc(errmsgsz);
regerror(ret, preg, errmsg, errmsgsz);
- error_msg_and_die("xregcomp: %s", errmsg);
+ bb_error_msg_and_die("xregcomp: %s", errmsg);
}
}