Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hp300/stand/common PR/50852: David Binderman: make ...



details:   https://anonhg.NetBSD.org/src/rev/0ee5a1cbe7f7
branches:  trunk
changeset: 343779:0ee5a1cbe7f7
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Feb 26 18:11:11 2016 +0000

description:
PR/50852: David Binderman: make code more readable (although it was correct
anyway)

diffstat:

 sys/arch/hp300/stand/common/ite.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9226906a9b2a -r 0ee5a1cbe7f7 sys/arch/hp300/stand/common/ite.c
--- a/sys/arch/hp300/stand/common/ite.c Fri Feb 26 17:13:01 2016 +0000
+++ b/sys/arch/hp300/stand/common/ite.c Fri Feb 26 18:11:11 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.17 2014/04/13 15:45:27 tsutsui Exp $ */
+/*     $NetBSD: ite.c,v 1.18 2016/02/26 18:11:11 christos Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -236,7 +236,7 @@
        int unit, pri;
 
 #ifdef CONSDEBUG
-       whichconsole = ++whichconsole % (NITE+1);
+       whichconsole = (whichconsole + 1) % (NITE+1);
 #endif
 
        if (itecons != -1)



Home | Main Index | Thread Index | Old Index