From e52aee3c8746d931ec428f6cb1a93dbffbcb740b Mon Sep 17 00:00:00 2001 From: Nathan Hintz Date: Sun, 4 Dec 2016 12:35:50 -0800 Subject: [PATCH] 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 --- pppd/options.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2