summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2002-08-27 07:38:55 +0000
committeryar <yar@FreeBSD.org>2002-08-27 07:38:55 +0000
commit57e404b3cda41ba70f521b902a025a612e6ae189 (patch)
tree43d93e50b6fbf5c63ac7d888a9d3e6519781ce7b /libexec
parentb7dfdde9ad3ce1f6f9d53e1a5e9b4f533787d9d6 (diff)
downloadFreeBSD-src-57e404b3cda41ba70f521b902a025a612e6ae189.zip
FreeBSD-src-57e404b3cda41ba70f521b902a025a612e6ae189.tar.gz
Fix an inconsistency between a printf-like format and its argument list.
Submitted by: kris MFC after: 3 days
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index 80af14f..4689136 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -2120,7 +2120,7 @@ statcmd(void)
char hname[NI_MAXHOST];
int ispassive;
- lreply(211, "%s FTP server status:", hostname, version);
+ lreply(211, "%s FTP server status:", hostname);
printf(" %s\r\n", version);
printf(" Connected to %s", remotehost);
if (!getnameinfo((struct sockaddr *)&his_addr, his_addr.su_len,
OpenPOWER on IntegriCloud