Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/wscons Try to fix previous to make it compile.



details:   https://anonhg.NetBSD.org/src/rev/ae5794c8b4ce
branches:  trunk
changeset: 358885:ae5794c8b4ce
user:      martin <martin%NetBSD.org@localhost>
date:      Sun Jan 21 10:30:51 2018 +0000

description:
Try to fix previous to make it compile.

diffstat:

 sys/dev/wscons/wsemul_vt100.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 6d6022ed220a -r ae5794c8b4ce sys/dev/wscons/wsemul_vt100.c
--- a/sys/dev/wscons/wsemul_vt100.c     Sun Jan 21 09:25:45 2018 +0000
+++ b/sys/dev/wscons/wsemul_vt100.c     Sun Jan 21 10:30:51 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: wsemul_vt100.c,v 1.43 2018/01/21 01:18:48 christos Exp $ */
+/* $NetBSD: wsemul_vt100.c,v 1.44 2018/01/21 10:30:51 martin Exp $ */
 
 /*
  * Copyright (c) 1998
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100.c,v 1.43 2018/01/21 01:18:48 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: wsemul_vt100.c,v 1.44 2018/01/21 10:30:51 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_wsmsgattrs.h"
@@ -805,7 +805,6 @@
 #endif
                        vd->nargs = VT100_EMUL_NARGS;
                }
-               newstate = VT100_EMUL_STATE_STRING;
                switch (c) {
                case '$':
                        return VT100_EMUL_STATE_DCS_DOLLAR;
@@ -823,6 +822,7 @@
 #endif
                        break;
                }
+               return VT100_EMUL_STATE_STRING;
        }
 
        return VT100_EMUL_STATE_DCS;



Home | Main Index | Thread Index | Old Index