Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/i2c Use aprint_error() instead of aprint_normal() on...



details:   https://anonhg.NetBSD.org/src/rev/83833fe43afa
branches:  trunk
changeset: 346461:83833fe43afa
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Thu Jul 14 04:01:32 2016 +0000

description:
Use aprint_error() instead of aprint_normal() on error.

diffstat:

 sys/dev/i2c/ibmhawk.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 5a7cb400776c -r 83833fe43afa sys/dev/i2c/ibmhawk.c
--- a/sys/dev/i2c/ibmhawk.c     Thu Jul 14 04:00:45 2016 +0000
+++ b/sys/dev/i2c/ibmhawk.c     Thu Jul 14 04:01:32 2016 +0000
@@ -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 @@
        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);



Home | Main Index | Thread Index | Old Index