Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/sun2 Fixed a bug processing options - we were ...



details:   https://anonhg.NetBSD.org/src/rev/a2ce489dc750
branches:  trunk
changeset: 514260:a2ce489dc750
user:      fredette <fredette%NetBSD.org@localhost>
date:      Sun Aug 26 18:39:15 2001 +0000

description:
Fixed a bug processing options - we were ORing
an uninitialized auto into boothowto.

diffstat:

 sys/arch/sun2/sun2/promlib.c |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 1d4cae970c81 -r a2ce489dc750 sys/arch/sun2/sun2/promlib.c
--- a/sys/arch/sun2/sun2/promlib.c      Sun Aug 26 18:11:25 2001 +0000
+++ b/sys/arch/sun2/sun2/promlib.c      Sun Aug 26 18:39:15 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: promlib.c,v 1.5 2001/08/16 01:47:45 fredette Exp $     */
+/*     $NetBSD: promlib.c,v 1.6 2001/08/26 18:39:15 fredette Exp $     */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -458,6 +458,7 @@
                prom_printf("boot options: %s\n", p);
 #endif
                for(; *(++p); ) {
+                       fl = 0;
                        BOOT_FLAG(*p, fl);
                        if (fl)
                                boothowto |= fl;



Home | Main Index | Thread Index | Old Index