changeset 341:86e2bdb2ad66 0.0.8

Fix typo.
author Rob Landley <rob@landley.net>
date Mon, 19 Jan 2009 22:08:01 -0600
parents 6e03d6a8df23
children 4c43da56f65e
files lib/xregcomp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lib/xregcomp.c	Sun Jan 18 16:19:25 2009 -0600
+++ b/lib/xregcomp.c	Mon Jan 19 22:08:01 2009 -0600
@@ -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];