From 4812cd84ac6a88b112183ab8a51275252ac49d7b Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 4 Feb 1998 01:01:25 +0000 Subject: Correct magic number format string Spotted by: Bruce M. Walter --- usr.sbin/ppp/lcp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/ppp') diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index 9cf49252c4d..02ab7f12035 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.8 1998/01/21 02:13:34 brian Exp $ + * $Id: lcp.c,v 1.9 1998/02/04 01:01:24 brian Exp $ * * TODO: * o Validate magic number received from peer. @@ -714,7 +714,7 @@ LcpDecodeConfig(u_char *cp, int plen, int mode_type) LcpInfo.want_magic = GenerateMagic(); break; case MODE_REJ: - LogPrintf(LogLCP, " Magic 0x%80x is REJected!\n", magic); + LogPrintf(LogLCP, " Magic 0x%08x is REJected!\n", magic); LcpInfo.want_magic = 0; LcpInfo.his_reject |= (1 << type); break; -- cgit v1.2.3