From: Nathan Hintz Date: Sun, 4 Dec 2016 20:35:50 +0000 (-0800) Subject: pppd: add missing parameter in call to 'printer' X-Git-Tag: ppp-2.4.8~30^2~1 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=e52aee3c8746d931ec428f6cb1a93dbffbcb740b pppd: add missing parameter in call to 'printer' The 'arg' parameter is missing from a call to the 'printer' function; modify the call to use the correct parameter set. Signed-off-by: Nathan Hintz --- diff --git a/pppd/options.c b/pppd/options.c index c06a2b4..36cf47f 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -979,7 +979,7 @@ print_option(opt, mainopt, printer, arg) p = (char *) opt->addr2; if ((opt->flags & OPT_STATIC) == 0) p = *(char **)p; - printer("%q", p); + printer(arg, "%q", p); } else if (opt->flags & OPT_A2LIST) { struct option_value *ovp;