summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorshin <shin@FreeBSD.org>2000-04-02 16:23:16 +0000
committershin <shin@FreeBSD.org>2000-04-02 16:23:16 +0000
commitc512ee151f5e474e8679f0f4103163987f8ad41c (patch)
treeac970aeb38a065f44e755eff581c76b1e35fd2c2 /sys
parent7a67542f8ae9daf5d950442362e85e4fca8c81a8 (diff)
downloadFreeBSD-src-c512ee151f5e474e8679f0f4103163987f8ad41c.zip
FreeBSD-src-c512ee151f5e474e8679f0f4103163987f8ad41c.tar.gz
Print out more hints at illegal cksum len value.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/i386/in_cksum.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/i386/i386/in_cksum.c b/sys/i386/i386/in_cksum.c
index 856215a..d6105d6 100644
--- a/sys/i386/i386/in_cksum.c
+++ b/sys/i386/i386/in_cksum.c
@@ -236,7 +236,7 @@ in_cksum(m, len)
}
if (len)
- printf("cksum: out of data\n");
+ printf("%s: out of data by %d\n", __func__, len);
if (mlen == -1) {
/* The last mbuf has odd # of bytes. Follow the
standard (the odd byte is shifted left by 8 bits) */
@@ -424,7 +424,7 @@ skip_start:
}
if (len)
- printf("cksum: out of data\n");
+ printf("%s: out of data by %d\n", __func__, len);
if (mlen == -1) {
/* The last mbuf has odd # of bytes. Follow the
standard (the odd byte is shifted left by 8 bits) */
OpenPOWER on IntegriCloud