aboutsummaryrefslogtreecommitdiff
path: root/src/libregexp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libregexp')
-rw-r--r--src/libregexp/lib9.std.h1
-rw-r--r--src/libregexp/regcomp.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/libregexp/lib9.std.h b/src/libregexp/lib9.std.h
index 1d7aaa62..f309c094 100644
--- a/src/libregexp/lib9.std.h
+++ b/src/libregexp/lib9.std.h
@@ -8,4 +8,3 @@
#define exits(x) exit(x && *x ? 1 : 0)
#define nil 0
-
diff --git a/src/libregexp/regcomp.c b/src/libregexp/regcomp.c
index cd299a54..c58b4d84 100644
--- a/src/libregexp/regcomp.c
+++ b/src/libregexp/regcomp.c
@@ -109,7 +109,7 @@ regerr2(char *s, int c)
while(*s)
*cp++ = *s++;
*cp++ = c;
- *cp = '\0';
+ *cp = '\0';
rcerror(buf);
}