From c98f493f90f8815db9919bc1c1283b47454a1a75 Mon Sep 17 00:00:00 2001 From: erh Date: Thu, 14 Oct 1999 18:29:02 +0000 Subject: [PATCH] Fix arguments to printf string. Was causing a crash on out of range mtu settings. --- usr.sbin/pppd/pppd/options.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/usr.sbin/pppd/pppd/options.c b/usr.sbin/pppd/pppd/options.c index 163edd83ba21..dde04ab841ab 100644 --- a/usr.sbin/pppd/pppd/options.c +++ b/usr.sbin/pppd/pppd/options.c @@ -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 @@ process_option(opt, argv) 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;