Module Name: src Committed By: christos Date: Fri Feb 26 18:11:11 UTC 2016
Modified Files: src/sys/arch/hp300/stand/common: ite.c Log Message: PR/50852: David Binderman: make code more readable (although it was correct anyway) To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/hp300/stand/common/ite.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/hp300/stand/common/ite.c diff -u src/sys/arch/hp300/stand/common/ite.c:1.17 src/sys/arch/hp300/stand/common/ite.c:1.18 --- src/sys/arch/hp300/stand/common/ite.c:1.17 Sun Apr 13 11:45:27 2014 +++ src/sys/arch/hp300/stand/common/ite.c Fri Feb 26 13:11:11 2016 @@ -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 @@ iteprobe(struct consdev *cp) int unit, pri; #ifdef CONSDEBUG - whichconsole = ++whichconsole % (NITE+1); + whichconsole = (whichconsole + 1) % (NITE+1); #endif if (itecons != -1)