Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev Add missing parameter in printf. From He...



details:   https://anonhg.NetBSD.org/src/rev/38ebe1dff765
branches:  trunk
changeset: 801771:38ebe1dff765
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Aug 17 10:01:49 2014 +0000

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

diffstat:

 sys/arch/macppc/dev/abtn.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 6b6d91bda958 -r 38ebe1dff765 sys/arch/macppc/dev/abtn.c
--- a/sys/arch/macppc/dev/abtn.c        Sun Aug 17 10:01:14 2014 +0000
+++ b/sys/arch/macppc/dev/abtn.c        Sun Aug 17 10:01:49 2014 +0000
@@ -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 @@
 
        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