summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2019-02-05 20:57:31 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2019-02-05 20:57:31 +0000
commit2fb3e1484aaf551916ad2e144a75149b73bcd2e2 (patch)
tree36689ad24b17fdb37ead12661f9b50efd2f9c5eb /lib
parent4a4891670e968e687ccae778f0b85fd651daabb9 (diff)
Fix typo in last commit.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/regex/regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/regex/regcomp.c b/lib/libc/regex/regcomp.c
index 6e63550185d..3f2d46d0512 100644
--- a/lib/libc/regex/regcomp.c
+++ b/lib/libc/regex/regcomp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: regcomp.c,v 1.33 2019/02/05 19:38:37 millert Exp $ */
+/* $OpenBSD: regcomp.c,v 1.34 2019/02/05 20:57:30 millert Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994 Henry Spencer.
* Copyright (c) 1992, 1993, 1994
@@ -558,7 +558,7 @@ p_simp_re(struct parse *p,
/* FALLTHROUGH */
default:
if (p->error != 0)
- return;
+ return(0); /* Definitely not $... */
ordinary(p, (char)c);
break;
}