NetBSD-Bugs archive

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

kern/41861: Missing device_xname in FE_DEBUG.



>Number:         41861
>Category:       kern
>Synopsis:       Missing  device_xname in FE_DEBUG.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 09 11:00:01 +0000 2009
>Originator:     Henning Petersen
>Release:        current-NetBSD
>Organization:
>Environment:
>Description:
Missing  device_xname in FE_DEBUG.
>How-To-Repeat:

>Fix:
diff -u -r1.73 mb86960.c
--- sys/dev/ic/mb86960.c        12 May 2009 14:25:17 -0000      1.73
+++ sys/dev/ic/mb86960.c        9 Aug 2009 07:25:45 -0000
@@ -417,7 +417,7 @@
                (*sc->stop_card)(sc);
 
 #if FE_DEBUG >= 3
-       log(LOG_INFO, "%s: end of mb86960_stop()\n", sc->sc_dev));
+       log(LOG_INFO, "%s: end of mb86960_stop()\n", device_xname(sc->sc_dev));
        mb86960_dump(LOG_INFO, sc);
 #endif
 }



Home | Main Index | Thread Index | Old Index