summaryrefslogtreecommitdiff
path: root/src/du.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-10-17 10:50:13 +0000
committerJim Meyering <jim@meyering.net>2003-10-17 10:50:13 +0000
commit5788d8e9b205ffc0cdf5086651be37bff221e03e (patch)
treef9f82c6bd963152d4089cbf4b394860c6299380c /src/du.c
parent1bac4198f278c21ebcd13fc6e9a30ffff5b9e760 (diff)
downloadcoreutils-5788d8e9b205ffc0cdf5086651be37bff221e03e.tar.xz
tweak comment
Diffstat (limited to 'src/du.c')
-rw-r--r--src/du.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/du.c b/src/du.c
index fbf361ae8..4de1a63fe 100644
--- a/src/du.c
+++ b/src/du.c
@@ -476,10 +476,10 @@ du_files (char **files, int bit_flags)
if (fts == NULL)
{
/* This can fail in three ways: out of memory, invalid bit_flags,
- and one of the FILES is an empty string.
- We could try to decipher that errno==EINVAL means invalid
- bit_flags and errno==ENOENT, but that seems wrong. Ideally
- fts_open would return a proper error indicator. For now,
+ and one or more of the FILES is an empty string. We could try
+ to decipher that errno==EINVAL means invalid bit_flags and
+ errno==ENOENT means there's an empty string, but that seems wrong.
+ Ideally, fts_open would return a proper error indicator. For now,
we'll presume that the bit_flags are valid and just check for
empty strings. */
bool invalid_arg = false;