Module Name:    src
Committed By:   dholland
Date:           Sat May  9 22:23:40 UTC 2015

Modified Files:
        src/sys/dev/bluetooth: bthub.c

Log Message:
use standard idiom - thanks riastradh@


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/sys/dev/bluetooth/bthub.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/dev/bluetooth/bthub.c
diff -u src/sys/dev/bluetooth/bthub.c:1.21 src/sys/dev/bluetooth/bthub.c:1.22
--- src/sys/dev/bluetooth/bthub.c:1.21	Sat May  9 21:31:05 2015
+++ src/sys/dev/bluetooth/bthub.c	Sat May  9 22:23:40 2015
@@ -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 s
 		 * 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");
 	}
 }
 

Reply via email to