aboutsummaryrefslogtreecommitdiff
path: root/lib/xregcomp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xregcomp.c')
-rw-r--r--lib/xregcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xregcomp.c b/lib/xregcomp.c
index 60446ef8..732ce4db 100644
--- a/lib/xregcomp.c
+++ b/lib/xregcomp.c
@@ -10,9 +10,9 @@
#include "toys.h"
#include "xregcomp.h"
-void xregcomp(regex_t *preg, char *rexec, int cflags)
+void xregcomp(regex_t *preg, char *regex, int cflags)
{
- int rc = regcomp(preg, rexec, cflags);
+ int rc = regcomp(preg, regex, cflags);
if (rc) {
char msg[256];