From: Russell Coker Date: Fri, 11 Jan 2002 18:11:51 +0000 (+0000) Subject: Stop it dumping random data to syslog on plugin version mismatch. X-Git-Tag: ppp-2.4.7~460 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=e635acbbac0a7f27d110c4ad4d10c71f26b708f4 Stop it dumping random data to syslog on plugin version mismatch. --- diff --git a/pppd/options.c b/pppd/options.c index acba289..3c1a295 100644 --- a/pppd/options.c +++ b/pppd/options.c @@ -17,7 +17,7 @@ * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#define RCSID "$Id: options.c,v 1.80 2001/03/12 22:56:12 paulus Exp $" +#define RCSID "$Id: options.c,v 1.81 2002/01/11 18:11:51 etbe Exp $" #include #include @@ -1496,7 +1496,7 @@ loadplugin(argv) warn("Warning: plugin %s has no version information", arg); } else if (strcmp(vers, VERSION) != 0) { option_error("Plugin %s is for pppd version %s, this is %s", - vers, VERSION); + arg, vers, VERSION); goto errclose; } info("Plugin %s loaded.", arg);