Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sysinst Fix copy&pasto in previous - from kre.



details:   https://anonhg.NetBSD.org/src/rev/d3aa942d6d42
branches:  trunk
changeset: 744573:d3aa942d6d42
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Feb 06 19:53:10 2020 +0000

description:
Fix copy&pasto in previous - from kre.

diffstat:

 usr.sbin/sysinst/txtwalk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 8ce0abc68b1c -r d3aa942d6d42 usr.sbin/sysinst/txtwalk.c
--- a/usr.sbin/sysinst/txtwalk.c        Thu Feb 06 19:52:09 2020 +0000
+++ b/usr.sbin/sysinst/txtwalk.c        Thu Feb 06 19:53:10 2020 +0000
@@ -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 @@
                                    && !isspace((unsigned char)line[len])
                                    && line[len] != fmt[1]) {
                                        if (line[len] == '\\' 
-                                           && line[len] != 0)
+                                           && line[len+1] != 0)
                                                len++;
                                        len++;
                                }



Home | Main Index | Thread Index | Old Index