Module Name: src
Committed By: msaitoh
Date: Thu Jul 14 04:01:32 UTC 2016
Modified Files:
src/sys/dev/i2c: ibmhawk.c
Log Message:
Use aprint_error() instead of aprint_normal() on error.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/i2c/ibmhawk.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/i2c/ibmhawk.c
diff -u src/sys/dev/i2c/ibmhawk.c:1.3 src/sys/dev/i2c/ibmhawk.c:1.4
--- src/sys/dev/i2c/ibmhawk.c:1.3 Tue Jun 21 12:38:27 2011
+++ src/sys/dev/i2c/ibmhawk.c Thu Jul 14 04:01:32 2016
@@ -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
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);