diff options
author | Jim Meyering <jim@meyering.net> | 2002-07-09 08:40:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-07-09 08:40:15 +0000 |
commit | 00489c764ac8617f5c3c11b4859d3061eaf5284d (patch) | |
tree | 78e6e20a225124d9e21fe9bef39b0068ccb04991 | |
parent | 6b33fa2fc6987cf547301b0d2716741280abfbef (diff) | |
download | coreutils-00489c764ac8617f5c3c11b4859d3061eaf5284d.tar.xz |
(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.
-rw-r--r-- | lib/mountlist.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/mountlist.h b/lib/mountlist.h index 935a2dcab..8aab8ff95 100644 --- 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 @@ struct mount_entry *read_filesystem_list PARAMS ((int need_fs_type)); #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 |