summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 16:43:52 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 16:43:52 +0000
commit8a19f89957281608b9a6c193e5ef81ca61a2936b (patch)
treeb81ba292aa02183d3555e32ca85fd53b51b5cefc /sys/netinet
parent5eadf1333f347f3dfdb01a9b891c11b41378848f (diff)
downloadFreeBSD-src-8a19f89957281608b9a6c193e5ef81ca61a2936b.zip
FreeBSD-src-8a19f89957281608b9a6c193e5ef81ca61a2936b.tar.gz
... _and_ the (void*) casts for %p. Next, I'll forget my own name :-(
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_dummynet.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/ip_dummynet.c b/sys/netinet/ip_dummynet.c
index 51a6cd7..e495b60 100644
--- a/sys/netinet/ip_dummynet.c
+++ b/sys/netinet/ip_dummynet.c
@@ -10,7 +10,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_dummynet.c,v 1.5 1999/01/12 12:27:54 eivind Exp $
+ * $Id: ip_dummynet.c,v 1.6 1999/01/12 16:40:57 eivind Exp $
*/
/*
@@ -181,7 +181,7 @@ dn_move(struct dn_pipe *pipe, int immediate)
if ( ( pkt == NULL && pipe->r_len != 0) ||
( pkt != NULL && pipe->r_len == 0) )
printf("-- Warning, pipe head %p len %d\n",
- pkt, pipe->r_len);
+ (void *)pkt, pipe->r_len);
}
/*
@@ -430,7 +430,7 @@ dn_rule_delete(void *r)
}
}
printf("dn_rule_delete, r %p, default %p%s, %d matches\n",
- r, ip_fw_default_rule,
+ (void *)r, (void *)ip_fw_default_rule,
r == ip_fw_default_rule ? " AARGH!":"", matches);
}
OpenPOWER on IntegriCloud