summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-02-04 01:01:25 +0000
committerbrian <brian@cvs.openbsd.org>1998-02-04 01:01:25 +0000
commit4812cd84ac6a88b112183ab8a51275252ac49d7b (patch)
tree7224256ec773b627b0ea5b7e17109b1c5b56f60c /usr.sbin/ppp
parent5adae55f750be81f07628e4ada2d0defffc75cb2 (diff)
Correct magic number format string
Spotted by: Bruce M. Walter <walter@fortean.com>
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r--usr.sbin/ppp/lcp.c4
1 files changed, 2 insertions, 2 deletions
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;