aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grab.c b/src/grab.c
index b15005f..9f8137b 100644
--- a/src/grab.c
+++ b/src/grab.c
@@ -787,7 +787,7 @@ mkregex(char8_t *s, size_t n)
if (ret = regcomp(&r, s, cflags)) {
char emsg[256];
regerror(ret, &r, emsg, sizeof(emsg));
- diex("Failed to compile regex: %s", emsg);
+ diex("Failed to compile regex ā€˜%sā€™: %s", s, emsg);
}
s[n] = c;