changeset 3983:42fe5a126477

(ME_DUMMY): Don't count entries of type `auto' as dummy ones. At least on GNU/Linux systems, `auto' means something else. From Michael Stone.
author Jim Meyering <jim@meyering.net>
date Thu, 21 Nov 2002 08:32:22 +0000
parents 53966f578090
children f1472737e8b8
files lib/mountlist.h
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lib/mountlist.h
+++ b/lib/mountlist.h
@@ -1,5 +1,5 @@
 /* mountlist.h -- declarations for list of mounted filesystems
-   Copyright (C) 1991, 1992, 1998, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1992, 1998, 2000-2002 Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -39,8 +39,7 @@
 
 #ifndef ME_DUMMY
 # define ME_DUMMY(Fs_name, Fs_type) \
-    (!strcmp (Fs_type, "auto") \
-     || !strcmp (Fs_type, "autofs") \
+    (!strcmp (Fs_type, "autofs") \
      /* for Irix 6.5 */ \
      || !strcmp (Fs_type, "ignore"))
 #endif