From a92f781c375a3864a687aa33d97a89a5e8f13323 Mon Sep 17 00:00:00 2001 From: Mike Pechkin Date: Mon, 17 Feb 2003 06:52:59 +0000 Subject: reply() -> perror_reply(). millert@ ok --- libexec/ftpd/ftpd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libexec') 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."); } -- cgit v1.2.3