Module Name:    src
Committed By:   wiz
Date:           Sun Aug 17 10:01:49 UTC 2014

Modified Files:
        src/sys/arch/macppc/dev: abtn.c

Log Message:
Add missing parameter in printf. From Henning Petersen in PR 49122.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/macppc/dev/abtn.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/macppc/dev/abtn.c
diff -u src/sys/arch/macppc/dev/abtn.c:1.19 src/sys/arch/macppc/dev/abtn.c:1.20
--- src/sys/arch/macppc/dev/abtn.c:1.19	Sat Oct 27 17:18:00 2012
+++ src/sys/arch/macppc/dev/abtn.c	Sun Aug 17 10:01:49 2014
@@ -1,4 +1,4 @@
-/*	$NetBSD: abtn.c,v 1.19 2012/10/27 17:18:00 chs Exp $	*/
+/*	$NetBSD: abtn.c,v 1.20 2014/08/17 10:01:49 wiz Exp $	*/
 
 /*-
  * Copyright (C) 1999 Tsubai Masanari.  All rights reserved.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: abtn.c,v 1.19 2012/10/27 17:18:00 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: abtn.c,v 1.20 2014/08/17 10:01:49 wiz Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -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);
 	}
 }

Reply via email to