]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
cp: fix comment typo
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 29 Jan 2022 19:40:16 +0000 (11:40 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 30 Jan 2022 00:29:18 +0000 (16:29 -0800)
src/cp.c

index 9aa5c367534aedca791a669330d3efcf9e08ce67..3bcc0d681d251b9f3821f8e07d0f421be0ee569f 100644 (file)
--- 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)