summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-18 00:14:09 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2004-11-18 00:14:09 +0000
commit75933089afc4d9469d6820ab5f118815d195b8df (patch)
treeebad486eaf8ef35b0319d6425527158f9cc13598 /libexec
parent0e425b6c477613ba3f3702b238c541978d456444 (diff)
Notes
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 106b0650a455..3b37d9a64c75 100644
--- a/libexec/ftpd/ftpd.c
+++ b/libexec/ftpd/ftpd.c
@@ -2554,7 +2554,7 @@ pwd(void)
char *s, path[MAXPATHLEN + 1];
if (getcwd(path, sizeof(path)) == NULL)
- reply(550, "%s.", path);
+ perror_reply(550, "Get current directory");
else {
if ((s = doublequote(path)) == NULL)
fatalerror("Ran out of memory.");