From 641562393f4de43e59a5f6f2df5481b007f1a649 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 8 Nov 2001 17:57:53 +0000 Subject: [PATCH] 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 --- comms/conserver/files/patch-readcfg.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 comms/conserver/files/patch-readcfg.c diff --git a/comms/conserver/files/patch-readcfg.c b/comms/conserver/files/patch-readcfg.c new file mode 100644 index 000000000000..6128a75f581e --- /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); + } +