Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/macppc/dev be less spammy on i2c errors
details: https://anonhg.NetBSD.org/src/rev/975150290108
branches: trunk
changeset: 360733:975150290108
user: macallan <macallan%NetBSD.org@localhost>
date: Wed Mar 28 15:34:29 2018 +0000
description:
be less spammy on i2c errors
diffstat:
sys/arch/macppc/dev/pmu.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 46c950c8fc2c -r 975150290108 sys/arch/macppc/dev/pmu.c
--- a/sys/arch/macppc/dev/pmu.c Wed Mar 28 15:33:44 2018 +0000
+++ b/sys/arch/macppc/dev/pmu.c Wed Mar 28 15:34:29 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmu.c,v 1.30 2018/02/16 18:07:05 macallan Exp $ */
+/* $NetBSD: pmu.c,v 1.31 2018/03/28 15:34:29 macallan Exp $ */
/*-
* Copyright (c) 2006 Michael Lorenz
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmu.c,v 1.30 2018/02/16 18:07:05 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmu.c,v 1.31 2018/03/28 15:34:29 macallan Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -990,7 +990,8 @@
DPRINTF("resp3(%d): %2x %2x %2x\n", len, resp[0], resp[1],
resp[2]);
if ((len - 2) != recv_len) {
- aprint_error_dev(sc->sc_dev, "%s(%d) - got %d\n",
+ DPRINTF("%s: %s(%d) - got %d\n",
+ device_xname(sc->sc_dev),
__func__, recv_len, len - 2);
return -1;
}
Home |
Main Index |
Thread Index |
Old Index