freebsd-ports/comms/conserver/files/patch-readcfg.c
David E. O'Brien 641562393f 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
2001-11-08 17:57:53 +00:00

12 lines
656 B
C

--- 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);
}