NetBSD-Bugs archive

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

port-macppc/49122: Missing cmd in printf (abtn.c)



>Number:         49122
>Category:       port-macppc
>Synopsis:       Missing cmd in printf (abtn.c)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 17 09:45:00 +0000 2014
>Originator:     Henning Petersen
>Release:        
>Organization:
>Environment:
>Description:
Missing parameter in printf.
>How-To-Repeat:

>Fix:
diff -u -p -r1.19 abtn.c
--- sys/arch/macppc/dev/abtn.c  27 Oct 2012 17:18:00 -0000      1.19
+++ sys/arch/macppc/dev/abtn.c  17 Aug 2014 09:23:30 -0000
@@ -192,6 +192,6 @@ abtn_adbcomplete(uint8_t *buffer, uint8_
 
        default:
                printf("%s: unknown button 0x%x\n",
-                      device_xname(sc->sc_dev));
+                      device_xname(sc->sc_dev), cmd);
        }
 }



Home | Main Index | Thread Index | Old Index