cp: fix comment typo

This commit is contained in:
Paul Eggert committed 2022-01-29 16:29:18 -08:00
1 parent 795a16627c
commit 534cfbb448
1 file changed
+1 -1
+1 -1
View File
@@ -598,7 +598,7 @@ target_directory_operand (char const *file)
if (!O_DIRECTORY && 0 <= fd)
{
/* On old systems like Solaris 10 that do not support O_DIRECTORY,
check by hand whether DIRECTORY is a directory. */
check by hand whether FILE is a directory. */
struct stat st;
int err;
if (fstat (fd, &st) != 0 ? (err = errno, true)