From 0e1db07cf9044a3bbfd713ff85528c129ed754ba Mon Sep 17 00:00:00 2001 From: rgrimes Date: Thu, 11 May 1995 19:26:53 +0000 Subject: Fix -Wformat warnings from LINT kernel. --- sys/net/if_spppsubr.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys/net/if_spppsubr.c') diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c index b387362..38b60ca 100644 --- a/sys/net/if_spppsubr.c +++ b/sys/net/if_spppsubr.c @@ -741,14 +741,15 @@ void sppp_cisco_input (struct sppp *sp, struct mbuf *m) } h = mtod (m, struct cisco_packet*); if (ifp->if_flags & IFF_DEBUG) - printf ("%s%d: cisco input: %d bytes <%xh %xh %xh %xh %xh-%xh>\n", + printf ("%s%d: cisco input: %d bytes " + "<%lxh %lxh %lxh %xh %xh-%xh>\n", ifp->if_name, ifp->if_unit, m->m_pkthdr.len, ntohl (h->type), h->par1, h->par2, h->rel, h->time0, h->time1); switch (ntohl (h->type)) { default: if (ifp->if_flags & IFF_DEBUG) - printf ("%s%d: unknown cisco packet type: 0x%x\n", + printf ("%s%d: unknown cisco packet type: 0x%lx\n", ifp->if_name, ifp->if_unit, ntohl (h->type)); break; case CISCO_ADDR_REPLY: @@ -872,7 +873,7 @@ void sppp_cisco_send (struct sppp *sp, int type, long par1, long par2) ch->time1 = htons ((unsigned short) t); if (ifp->if_flags & IFF_DEBUG) - printf ("%s%d: cisco output: <%xh %xh %xh %xh %xh-%xh>\n", + printf ("%s%d: cisco output: <%lxh %lxh %lxh %xh %xh-%xh>\n", ifp->if_name, ifp->if_unit, ntohl (ch->type), ch->par1, ch->par2, ch->rel, ch->time0, ch->time1); -- cgit v1.1