NetBSD-Bugs archive

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

kern/44431: wrong error message in x86/x86/intr.c



>Number:         44431
>Category:       kern
>Synopsis:       wrong error message in x86/x86/intr.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 21 10:10:00 +0000 2011
>Originator:     Dr. W. Stukenbrock
>Release:        NetBSD 5.1
>Organization:
Dr. Nagler & Company GmbH
>Environment:
        
        
System: NetBSD test-s0 4.0 NetBSD 4.0 (NSW-WS) #0: Tue Aug 17 17:28:09 CEST 
2010 wgstuken@test-s0:/usr/src/sys/arch/amd64/compile/NSW-WS amd64
Architecture: x86_64
Machine: amd64
>Description:
        A wrong function name is reported in intr_string() in case of
        an invalid "ih". It looks like a copy-paste error.
>How-To-Repeat:
        Found by a look into the sources.
>Fix:
        Apply the following patch to /usr/src/sys/arch/x86/x86/intr.c

--- intr.c      2011/01/21 10:05:07     1.1
+++ intr.c      2011/01/21 10:05:26
@@ -837,7 +837,7 @@
 #endif
 
        if (ih == 0)
-               panic("pci_intr_string: bogus handle 0x%x", ih);
+               panic("intr_string: bogus handle 0x%x", ih);
 
 
 #if NIOAPIC > 0

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index