From 534cfbb4482791a7dede896b60ca9f3a7e18703f Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 29 Jan 2022 11:40:16 -0800 Subject: [PATCH] cp: fix comment typo --- src/cp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cp.c b/src/cp.c index 9aa5c36753..3bcc0d681d 100644 --- a/src/cp.c +++ b/src/cp.c @@ -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) -- 2.47.2