Module Name: src
Committed By: maya
Date: Tue Aug 22 07:09:00 UTC 2017
Modified Files:
src/sys/arch/mips/cavium/dev: if_cnmac.c
Log Message:
Reword warning message
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/arch/mips/cavium/dev/if_cnmac.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/arch/mips/cavium/dev/if_cnmac.c
diff -u src/sys/arch/mips/cavium/dev/if_cnmac.c:1.5 src/sys/arch/mips/cavium/dev/if_cnmac.c:1.6
--- src/sys/arch/mips/cavium/dev/if_cnmac.c:1.5 Thu Dec 15 09:28:03 2016
+++ src/sys/arch/mips/cavium/dev/if_cnmac.c Tue Aug 22 07:09:00 2017
@@ -1,8 +1,8 @@
-/* $NetBSD: if_cnmac.c,v 1.5 2016/12/15 09:28:03 ozaki-r Exp $ */
+/* $NetBSD: if_cnmac.c,v 1.6 2017/08/22 07:09:00 maya Exp $ */
#include <sys/cdefs.h>
#if 0
-__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.5 2016/12/15 09:28:03 ozaki-r Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_cnmac.c,v 1.6 2017/08/22 07:09:00 maya Exp $");
#endif
#include "opt_octeon.h"
@@ -1436,8 +1436,8 @@ octeon_eth_recv_check(struct octeon_eth_
if (ratecheck(&sc->sc_rate_recv_check_code_last,
&sc->sc_rate_recv_check_code_cap))
log(LOG_WARNING,
- "%s: the reception error had occured, "
- "the packet was dropped (error code = %" PRId64 ")\n",
+ "%s: reception error, packet dropped "
+ "(error code = %" PRId64 ")\n",
device_xname(sc->sc_dev), word2 & PIP_WQE_WORD2_NOIP_OPECODE);
}
OCTEON_EVCNT_INC(sc, rxerrcode);