summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormsaitoh <msaitoh@NetBSD.org>2016-07-14 04:01:32 +0000
committermsaitoh <msaitoh@NetBSD.org>2016-07-14 04:01:32 +0000
commit7717feca4bc625b11cd167cde35a115f3950cf10 (patch)
tree22cab8db820fa9a12435ca0f5430654aeabaaf36 /sys/dev
parentfea989253ed8b48a330618c0627abb9b4a04cccd (diff)
Use aprint_error() instead of aprint_normal() on error.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/i2c/ibmhawk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/i2c/ibmhawk.c b/sys/dev/i2c/ibmhawk.c
index 149f45d4f73..104944e0ab4 100644
--- a/sys/dev/i2c/ibmhawk.c
+++ b/sys/dev/i2c/ibmhawk.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ibmhawk.c,v 1.3 2011/06/21 12:38:27 hannken Exp $ */
+/* $NetBSD: ibmhawk.c,v 1.4 2016/07/14 04:01:32 msaitoh Exp $ */
/*-
* Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -121,7 +121,7 @@ ibmhawk_attach(device_t parent, device_t self, void *aux)
if (!pmf_device_register(self, NULL, NULL))
aprint_error_dev(self, "couldn't establish power handler\n");
if (ibmhawk_request(sc, IHR_NAME, &resp)) {
- aprint_normal(": communication failed\n");
+ aprint_error_dev(self, "communication failed\n");
return;
}
aprint_normal(": IBM Hawk \"%.16s\"\n", resp.ihr_name);