aboutsummaryrefslogtreecommitdiff
path: root/src/grab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grab.c')
-rw-r--r--src/grab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grab.c b/src/grab.c
index cf5ff6f..0686bf6 100644
--- a/src/grab.c
+++ b/src/grab.c
@@ -456,7 +456,7 @@ mkregex(char *s, size_t n)
if (nflag)
cflags |= REG_NEWLINE;
if ((ret = regcomp(&r, s, cflags)) != 0) {
- char emsg[128];
+ char emsg[256];
regerror(ret, &r, emsg, sizeof(emsg));
diex("Failed to compile regex: %s", emsg);
}