Subject: port-amiga/1978: afsc A4000T probe has typo in debug output statement
To: None <gnats-bugs@gnats.netbsd.org>
From: Ignatios Souvatzis <is@beverly.rhein.de>
List: netbsd-bugs
Date: 01/26/1996 04:48:48
>Number:         1978
>Category:       port-amiga
>Synopsis:       afsc A4000T probe has typo in debug output statement
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 25 23:20:01 1996
>Last-Modified:
>Originator:     Ignatios Souvatzis
>Organization:
	me, myself and I
>Release:        1.1
>Environment:
	
System: NetBSD beverly.rhein.de 1.1 NetBSD 1.1 (BEVERLY) #15: Thu Dec 21 11:55:35 MET 1995 is@beverly.rhein.de:/usr/src/sys/arch/amiga/compile/BEVERLY amiga


>Description:
	A typo in the format string of a debug statement makes it impossible to 
	judge why a certain A4000T scsi board fails to get correctly recognized.
>How-To-Repeat:
	Build kernel with aftsc support and options DEBUG. Boot it on A4000T.
>Fix:
--- afsc.c.backup	Fri Jan 26 04:43:41 1996
+++ afsc.c	Fri Jan 26 04:43:51 1996
@@ -114,7 +114,7 @@
 	rp->siop_scratch = 0xdeadbeef;
 	rp->siop_temp = 0xaaaa5555;
 #ifdef DEBUG
-	printf("afscmatch: probe %x %x %x %X\n", scratch, temp,
+	printf("afscmatch: probe %x %x %x %x\n", scratch, temp,
 	    rp->siop_scratch, rp->siop_temp);
 #endif
 	if (rp->siop_scratch != 0xdeadbeef || rp->siop_temp != 0xaaaa5555)
>Audit-Trail:
>Unformatted: