summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/df.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/df.c b/src/df.c
index 885c26264..794e12b5c 100644
--- a/src/df.c
+++ b/src/df.c
@@ -507,7 +507,7 @@ show_point (const char *point, const struct stat *statp)
{
for (me = mount_list; me; me = me->me_next)
{
- if (STREQ (me->me_mountdir, point))
+ if (STREQ (me->me_mountdir, point) && !STREQ (me->me_type, "lofs"))
{
/* Prefer non-dummy entries. */
if (! me->me_dummy)
@@ -599,7 +599,7 @@ show_point (const char *point, const struct stat *statp)
}
}
- if (best_match)
+ if (best_match && !STREQ (best_match->me_type, "lofs"))
{
me = best_match;
goto show_me;