* Copyright (C) many different people.
* If you wrote this, please acknowledge your work.
*
- * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
+ * Licensed under GPLv2 or later, see file LICENSE in this source tree.
*/
#include "libbb.h"
{
char *errmsg = regcomp_or_errmsg(preg, regex, cflags);
if (errmsg) {
- bb_error_msg_and_die("xregcomp: %s", errmsg);
+ bb_error_msg_and_die("bad regex '%s': %s", regex, errmsg);
}
}