mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
cp: fix comment typo
This commit is contained in:
1 parent
795a16627c
commit
534cfbb448
1 file changed
+1
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user