aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2009-01-19 22:08:01 -0600
committerRob Landley <rob@landley.net>2009-01-19 22:08:01 -0600
commite7a169ba2ca710e8fb602dd49006cfd201293018 (patch)
treefc1a9b4de6c27504bc0997b26a010f44d05b51ef /lib
parent52476716ad2bff9805e5749bf2c2a1f9d3512ec9 (diff)
downloadtoybox-e7a169ba2ca710e8fb602dd49006cfd201293018.tar.gz
Fix typo.0.0.8
Diffstat (limited to 'lib')
-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];