summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
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.");
}