summaryrefslogtreecommitdiff
path: root/sys/dev/bluetooth
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2015-05-09 22:23:40 +0000
committerdholland <dholland@NetBSD.org>2015-05-09 22:23:40 +0000
commitfcd487f90dc995ddc0703c1e53480eea370b5cfe (patch)
treede2cc97bef727f9a06b9a03868d82c85ce49442f /sys/dev/bluetooth
parent828c51d9ceaf467f6bee6dc2167109e89311df52 (diff)
use standard idiom - thanks riastradh@
Diffstat (limited to 'sys/dev/bluetooth')
-rw-r--r--sys/dev/bluetooth/bthub.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/bluetooth/bthub.c b/sys/dev/bluetooth/bthub.c
index 8606e1104ac..43e6c1f7773 100644
--- a/sys/dev/bluetooth/bthub.c
+++ b/sys/dev/bluetooth/bthub.c
@@ -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 @@ bthub_attach(device_t parent, device_t self, void *aux)
* 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");
}
}