Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amiga/stand/loadbsd Fix for two bugs discovered by ...



details:   https://anonhg.NetBSD.org/src/rev/938a624c615a
branches:  trunk
changeset: 487934:938a624c615a
user:      is <is%NetBSD.org@localhost>
date:      Thu Jun 15 13:43:35 2000 +0000

description:
Fix for two bugs discovered by Gunther Nikl:
- missing printf parameter
- error in DraCo detection

diffstat:

 sys/arch/amiga/stand/loadbsd/loadbsd.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r c0c7cad7cf79 -r 938a624c615a sys/arch/amiga/stand/loadbsd/loadbsd.c
--- a/sys/arch/amiga/stand/loadbsd/loadbsd.c    Thu Jun 15 13:35:27 2000 +0000
+++ b/sys/arch/amiga/stand/loadbsd/loadbsd.c    Thu Jun 15 13:43:35 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: loadbsd.c,v 1.23 1997/11/01 06:49:18 lukem Exp $       */
+/*     $NetBSD: loadbsd.c,v 1.24 2000/06/15 13:43:35 is Exp $  */
 
 /*
  * Copyright (c) 1994 Michael L. Hitch
@@ -421,7 +421,7 @@
                        err(20, "Insufficient Chip Memory for kernel");
                }
                Z_flag = 1;
-               printf("*** Loading from %08lx to Chipmem ***\n");
+               printf("*** Loading from %08lx to Chipmem ***\n", kp);
        }
 
        /*
@@ -604,7 +604,7 @@
 
        cpuid |= SysBase->AttnFlags;    /* get FPU and CPU flags */
        if (cpuid & 0xffff0000) {
-               if ((cpuid & 0xff000000) == 0x7D)
+               if ((cpuid >> 24) == 0x7D)
                        return;
 
                switch (cpuid >> 16) {



Home | Main Index | Thread Index | Old Index