summaryrefslogtreecommitdiffstats
path: root/comms
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-11-08 17:57:53 +0000
committerobrien <obrien@FreeBSD.org>2001-11-08 17:57:53 +0000
commiteab07901ef0d4b250ae4470abdc417f49f1c08ca (patch)
tree8b803a1ccbe335b09675bd5239236528c7352ade /comms
parentdb1ca33e4dafe9edfad75d77dd335eb70c6a2b0e (diff)
downloadFreeBSD-ports-eab07901ef0d4b250ae4470abdc417f49f1c08ca.zip
FreeBSD-ports-eab07901ef0d4b250ae4470abdc417f49f1c08ca.tar.gz
Fix a bogon where too many arguments are passed in a printf().
It is obvious which argument does not belong (maybe left from a older version?) Submitted by: brian
Diffstat (limited to 'comms')
-rw-r--r--comms/conserver/files/patch-readcfg.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/comms/conserver/files/patch-readcfg.c b/comms/conserver/files/patch-readcfg.c
new file mode 100644
index 0000000..6128a75
--- /dev/null
+++ b/comms/conserver/files/patch-readcfg.c
@@ -0,0 +1,12 @@
+--- etc/conserver/readcfg.c.orig Wed Aug 2 19:39:42 2000
++++ etc/conserver/readcfg.c Tue Jul 24 12:09:27 2001
+@@ -194,7 +194,7 @@
+ if ('\000' != pGE->passwd[0] && 0 != strcmp(pcPass, pGE->passwd)) {
+ fprintf(stderr, "%s: %s(%d) group %d has more than one password, first taken\n", progname, pcFile, iLine, iG);
+ } else if ((int)strlen(pcPass) > MAXPSWDLEN) {
+- fprintf(stderr, "%s: %s(%d) password too long (%d is the limit)\n", progname, pcFile, iLine, iG, MAXPSWDLEN);
++ fprintf(stderr, "%s: %s(%d) password too long (%d is the limit)\n", progname, pcFile, iLine, MAXPSWDLEN);
+ } else {
+ (void)strcpy(pGE->passwd, pcPass);
+ }
+
OpenPOWER on IntegriCloud