[PATCH] vi: fix regex search compilation error
Ron Yorston
rmy at pobox.com
Tue Jul 13 15:35:43 UTC 2021
Building with FEATURE_VI_REGEX_SEARCH enabled fails.
Signed-off-by: Ron Yorston <rmy at pobox.com>
---
editors/vi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/editors/vi.c b/editors/vi.c
index 5c601c759..a4b958734 100644
--- a/editors/vi.c
+++ b/editors/vi.c
@@ -2684,7 +2684,7 @@ static char *expand_args(char *args)
static char *strchr_backslash(const char *s, int c)
{
while (*s) {
- if (*s == c) {
+ if (*s == c)
return (char *)s;
if (*s == '\\')
if (*++s == '\0')
--
2.31.1
More information about the busybox
mailing list