summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-04-28 14:45:43 +0200
committerJim Meyering <meyering@redhat.com>2009-04-28 14:45:43 +0200
commit74171b693c0257194cc9357f547c7d4492f5a439 (patch)
treed0f93ee3f3679604d5cacbb7f8bea264e901586e /src
parentc4dfd3138e8106cd472abf841ac7d752c5307603 (diff)
downloadcoreutils-74171b693c0257194cc9357f547c7d4492f5a439.tar.xz
df: adjust comment to match recent code change
* src/df.c (main): Update comment to match.
Diffstat (limited to 'src')
-rw-r--r--src/df.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/df.c b/src/df.c
index a3eb98a61..070980e25 100644
--- a/src/df.c
+++ b/src/df.c
@@ -988,8 +988,9 @@ main (int argc, char **argv)
{
int i;
- /* stat all the given entries to make sure they get automounted,
- if necessary, before reading the file system table. */
+ /* Open each of the given entries to make sure any corresponding
+ partition is automounted. This must be done before reading the
+ file system table. */
stats = xnmalloc (argc - optind, sizeof *stats);
for (i = optind; i < argc; ++i)
{