Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/bluetooth use standard idiom - thanks riastradh@



details:   https://anonhg.NetBSD.org/src/rev/9fb790a56673
branches:  trunk
changeset: 338087:9fb790a56673
user:      dholland <dholland%NetBSD.org@localhost>
date:      Sat May 09 22:23:40 2015 +0000

description:
use standard idiom - thanks riastradh@

diffstat:

 sys/dev/bluetooth/bthub.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r ea27ebc6d538 -r 9fb790a56673 sys/dev/bluetooth/bthub.c
--- a/sys/dev/bluetooth/bthub.c Sat May 09 21:57:56 2015 +0000
+++ b/sys/dev/bluetooth/bthub.c Sat May 09 22:23:40 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bthub.c,v 1.21 2015/05/09 21:31:05 dholland Exp $      */
+/*     $NetBSD: bthub.c,v 1.22 2015/05/09 22:23:40 dholland Exp $      */
 
 /*-
  * Copyright (c) 2006 Itronix Inc.
@@ -32,7 +32,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.21 2015/05/09 21:31:05 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bthub.c,v 1.22 2015/05/09 22:23:40 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -127,8 +127,7 @@
                 * avoiding it needs a pretty big rearrangement of
                 * device attachments.
                 */
-               printf("bthub_attach: pmf_device_register failed -- "
-                      "no power management for you!\n");
+               aprint_error_dev(self, "couldn't establish power handler\n");
        }
 }
 



Home | Main Index | Thread Index | Old Index