summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMike Pechkin <mpech@cvs.openbsd.org>2003-02-17 06:52:59 +0000
committerMike Pechkin <mpech@cvs.openbsd.org>2003-02-17 06:52:59 +0000
commita92f781c375a3864a687aa33d97a89a5e8f13323 (patch)
tree033f6a1b70e6e82a757ae9d753b2e96edbeac705 /libexec
parent98266100c5040e369aae7b749e0f03a0abff35db (diff)
reply() -> perror_reply().
millert@ ok
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ftpd/ftpd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libexec/ftpd/ftpd.c b/libexec/ftpd/ftpd.c
index c01568d409f..525ea81b7e0 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ftpd.c,v 1.139 2002/11/25 22:45:39 millert Exp $ */
+/* $OpenBSD: ftpd.c,v 1.140 2003/02/17 06:52:58 mpech Exp $ */
/* $NetBSD: ftpd.c,v 1.15 1995/06/03 22:46:47 mycroft Exp $ */
/*
@@ -74,7 +74,7 @@ static const char copyright[] =
static const char sccsid[] = "@(#)ftpd.c 8.4 (Berkeley) 4/16/94";
#else
static const char rcsid[] =
- "$OpenBSD: ftpd.c,v 1.139 2002/11/25 22:45:39 millert Exp $";
+ "$OpenBSD: ftpd.c,v 1.140 2003/02/17 06:52:58 mpech Exp $";
#endif
#endif /* not lint */
@@ -2070,7 +2070,7 @@ pwd()
char path[MAXPATHLEN];
if (getcwd(path, sizeof(path)) == NULL)
- reply(550, "Can't get current directory: %s.", strerror(errno));
+ perror_reply(550, "Can't get current directory");
else
replydirname(path, "is current directory.");
}