summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ipv6cp.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-08-19 22:23:23 +0000
committerbrian <brian@FreeBSD.org>2001-08-19 22:23:23 +0000
commit5d20b14f87a4e1fa28272d23c983762ecf94c3de (patch)
tree0ef659ffaea127dbeb1ee646cbcb014611f7779d /usr.sbin/ppp/ipv6cp.c
parent317909c43657981aa9d50b145e0e95a388f41007 (diff)
downloadFreeBSD-src-5d20b14f87a4e1fa28272d23c983762ecf94c3de.zip
FreeBSD-src-5d20b14f87a4e1fa28272d23c983762ecf94c3de.tar.gz
Add a missing % in a format string.
Not spotted by: FreeBSD's gcc version 2.95.3 20010315 (release) Spotted by: OpenBSD's gcc version 2.95.3 20010125 (prerelease)
Diffstat (limited to 'usr.sbin/ppp/ipv6cp.c')
-rw-r--r--usr.sbin/ppp/ipv6cp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ipv6cp.c b/usr.sbin/ppp/ipv6cp.c
index 9a8c2e8..229b02e 100644
--- a/usr.sbin/ppp/ipv6cp.c
+++ b/usr.sbin/ppp/ipv6cp.c
@@ -551,7 +551,7 @@ ipv6cp_DecodeConfig(struct fsm *fp, u_char *cp, int plen, int mode_type,
fsm_Close(&ipv6cp->fsm);
} else if (token == ipv6cp->peer_token)
log_Printf(log_IsKept(LogIPV6CP) ? LogIPV6CP : LogPHASE,
- "0x08lx: Unacceptable token!\n", (unsigned long)token);
+ "0x%08lx: Unacceptable token!\n", (unsigned long)token);
else if (token != ipv6cp->my_token) {
n = 100;
while (n && !ipcp_SetIPv6address(ipv6cp, token, ipv6cp->peer_token)) {
OpenPOWER on IntegriCloud