Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/pppd/pppd Fix arguments to printf string. Was caus...
details: https://anonhg.NetBSD.org/src/rev/8b863fe6a500
branches: trunk
changeset: 477188:8b863fe6a500
user: erh <erh%NetBSD.org@localhost>
date: Thu Oct 14 18:29:02 1999 +0000
description:
Fix arguments to printf string. Was causing a crash on out of range mtu settings.
diffstat:
usr.sbin/pppd/pppd/options.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r ea55d9a0cefd -r 8b863fe6a500 usr.sbin/pppd/pppd/options.c
--- a/usr.sbin/pppd/pppd/options.c Thu Oct 14 17:46:26 1999 +0000
+++ b/usr.sbin/pppd/pppd/options.c Thu Oct 14 18:29:02 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: options.c,v 1.30 1999/08/25 02:07:44 christos Exp $ */
+/* $NetBSD: options.c,v 1.31 1999/10/14 18:29:02 erh Exp $ */
/*
* options.c - handles option processing for PPP.
@@ -24,7 +24,7 @@
#if 0
#define RCSID "Id: options.c,v 1.64 1999/08/13 06:46:16 paulus Exp "
#else
-__RCSID("$NetBSD: options.c,v 1.30 1999/08/25 02:07:44 christos Exp $");
+__RCSID("$NetBSD: options.c,v 1.31 1999/10/14 18:29:02 erh Exp $");
#endif
#endif
@@ -687,7 +687,8 @@
break;
case OPT_LIMITS:
option_error("%s value must be%s between %d and %d",
- opt->name, opt->lower_limit, opt->upper_limit);
+ opt->name, zok, opt->lower_limit,
+ opt->upper_limit);
break;
}
return 0;
Home |
Main Index |
Thread Index |
Old Index