summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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)
{