Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/boot rewrite an undefined assignment



details:   https://anonhg.NetBSD.org/src/rev/f669fb62ae9d
branches:  trunk
changeset: 549981:f669fb62ae9d
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 27 07:04:46 2003 +0000

description:
rewrite an undefined assignment

diffstat:

 sys/arch/i386/stand/boot/boot2.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f76b4c857a53 -r f669fb62ae9d sys/arch/i386/stand/boot/boot2.c
--- a/sys/arch/i386/stand/boot/boot2.c  Sun Jul 27 07:02:18 2003 +0000
+++ b/sys/arch/i386/stand/boot/boot2.c  Sun Jul 27 07:04:46 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: boot2.c,v 1.1 2003/04/16 22:36:14 dsl Exp $    */
+/*     $NetBSD: boot2.c,v 1.2 2003/07/27 07:04:46 mrg Exp $    */
 
 /*
  * Copyright (c) 2003
@@ -263,7 +263,7 @@
                /* since it failed, try compressed bootfile. */
                bootit(names[currname][1], 0, 1);
                /* since it failed, try switching bootfile. */
-               currname = ++currname % NUMNAMES;
+               currname = (currname + 1) % NUMNAMES;
        }
 }
 



Home | Main Index | Thread Index | Old Index