From e7a169ba2ca710e8fb602dd49006cfd201293018 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 19 Jan 2009 22:08:01 -0600 Subject: Fix typo. --- lib/xregcomp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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]; -- cgit v1.2.3