aboutsummaryrefslogtreecommitdiff
path: root/ip_icmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ip_icmp.c')
-rw-r--r--ip_icmp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ip_icmp.c b/ip_icmp.c
index 09a5afa..1f51edf 100644
--- a/ip_icmp.c
+++ b/ip_icmp.c
@@ -126,7 +126,7 @@ void icmp_input(struct mbuf *m, int hlen)
Slirp *slirp = m->slirp;
DEBUG_CALL("icmp_input");
- DEBUG_ARG("m = %lx", (long)m);
+ DEBUG_ARG("m = %p", m);
DEBUG_ARG("m_len = %d", m->m_len);
/*
@@ -253,7 +253,7 @@ void icmp_error(struct mbuf *msrc, u_char type, u_char code, int minsize,
register struct mbuf *m;
DEBUG_CALL("icmp_error");
- DEBUG_ARG("msrc = %lx", (long)msrc);
+ DEBUG_ARG("msrc = %p", msrc);
DEBUG_ARG("msrc_len = %d", msrc->m_len);
if (type != ICMP_UNREACH && type != ICMP_TIMXCEED)