summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mercer <bmercer@cvs.openbsd.org>2015-08-25 13:13:13 +0000
committerBrandon Mercer <bmercer@cvs.openbsd.org>2015-08-25 13:13:13 +0000
commitab0fc232f5b2b962ed191ea5313c3918dadabc5e (patch)
tree7f53947f427d4cd17702a6b437e14d5777a30d53
parent32de85b6ff1be03229b9f5fc8a7dfa9e37632019 (diff)
Put the device name into the timeout message. OK jsg@
-rw-r--r--sys/arch/armv7/omap/if_cpsw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/armv7/omap/if_cpsw.c b/sys/arch/armv7/omap/if_cpsw.c
index 136bdae1b91..e85bb00bfd1 100644
--- a/sys/arch/armv7/omap/if_cpsw.c
+++ b/sys/arch/armv7/omap/if_cpsw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_cpsw.c,v 1.26 2015/06/24 09:40:53 mpi Exp $ */
+/* $OpenBSD: if_cpsw.c,v 1.27 2015/08/25 13:13:12 bmercer Exp $ */
/* $NetBSD: if_cpsw.c,v 1.3 2013/04/17 14:36:34 bouyer Exp $ */
/*
@@ -613,7 +613,7 @@ cpsw_ioctl(struct ifnet *ifp, u_long cmd, caddr_t data)
void
cpsw_watchdog(struct ifnet *ifp)
{
- printf("device timeout\n");
+ printf("%s: device timeout\n", ifp->if_xname);
ifp->if_oerrors++;
cpsw_init(ifp);