diff options
author | 2003-02-17 06:52:58 +0000 | |
---|---|---|
committer | 2003-02-17 06:52:58 +0000 | |
commit | 4ee88263b57dc57845ccfc062f390e6fae00020b (patch) | |
tree | 78b021004bbefcc4dab5533ee9a9699bdd79af19 | |
parent | Add hyphens to boundary ID to make it not pure base64. This means that (diff) | |
download | wireguard-openbsd-4ee88263b57dc57845ccfc062f390e6fae00020b.tar.xz wireguard-openbsd-4ee88263b57dc57845ccfc062f390e6fae00020b.zip |
reply() -> perror_reply().
millert@ ok
-rw-r--r-- | libexec/ftpd/ftpd.c | 6 |
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."); } |