From 999cc6611245dd573c692255ead4480f0cb9fe59 Mon Sep 17 00:00:00 2001 From: yar Date: Thu, 16 Jan 2003 13:27:58 +0000 Subject: Replace the instances of literal "/bin/ls" with the _PATH_LS macro to be consistent with the rest of the ftpd(8) source. --- libexec/ftpd/ftpcmd.y | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libexec/ftpd/ftpcmd.y') diff --git a/libexec/ftpd/ftpcmd.y b/libexec/ftpd/ftpcmd.y index 22ae19a..6201546 100644 --- a/libexec/ftpd/ftpcmd.y +++ b/libexec/ftpd/ftpcmd.y @@ -72,6 +72,7 @@ static const char rcsid[] = #include #include "extern.h" +#include "pathnames.h" extern union sockunion data_dest, his_addr; extern int logged_in; @@ -484,12 +485,12 @@ cmd | LIST check_login CRLF { if ($2) - retrieve("/bin/ls -lgA", ""); + retrieve(_PATH_LS " -lgA", ""); } | LIST check_login SP pathstring CRLF { if ($2) - retrieve("/bin/ls -lgA %s", $4); + retrieve(_PATH_LS " -lgA %s", $4); free($4); } | STAT check_login SP pathname CRLF -- cgit v1.1