Module Name: src
Committed By: martin
Date: Thu Feb 6 19:53:10 UTC 2020
Modified Files:
src/usr.sbin/sysinst: txtwalk.c
Log Message:
Fix copy&pasto in previous - from kre.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/sysinst/txtwalk.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/sysinst/txtwalk.c
diff -u src/usr.sbin/sysinst/txtwalk.c:1.3 src/usr.sbin/sysinst/txtwalk.c:1.4
--- src/usr.sbin/sysinst/txtwalk.c:1.3 Thu Feb 6 16:28:10 2020
+++ src/usr.sbin/sysinst/txtwalk.c Thu Feb 6 19:53:10 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: txtwalk.c,v 1.3 2020/02/06 16:28:10 martin Exp $ */
+/* $NetBSD: txtwalk.c,v 1.4 2020/02/06 19:53:10 martin Exp $ */
/*
* Copyright 1997 Piermont Information Systems Inc.
@@ -243,7 +243,7 @@ finddata(const struct lookfor *item, cha
&& !isspace((unsigned char)line[len])
&& line[len] != fmt[1]) {
if (line[len] == '\\'
- && line[len] != 0)
+ && line[len+1] != 0)
len++;
len++;
}