diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 15:00:17 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2012-04-02 15:00:17 +0400 |
commit | 5346e8aebbd4ecc03c8156a91174df74db6fc7db (patch) | |
tree | 3d9d92724c60cd5d4dcb66ea42d7ec5306272f85 /winsup/cygwin/mount.cc | |
parent | 881beea81de7a0877c64c01ba74de5e8a8d9dfd5 (diff) |
* mount.cc (fillout_mntent): Use "none" rather than 0 when checking
FS type.
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 90b369154..ddbccae21 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -1628,7 +1628,7 @@ fillout_mntent (const char *native_path, const char *posix_path, unsigned flags) RtlAppendUnicodeToString (&unat, L"\\"); mntinfo.update (&unat, NULL); - if (mntinfo.what_fs () > 0 && mntinfo.what_fs () < max_fs_type) + if (mntinfo.what_fs () > none && mntinfo.what_fs () < max_fs_type) strcpy (_my_tls.locals.mnt_type, fs_names[mntinfo.what_fs ()].name); else strcpy (_my_tls.locals.mnt_type, mntinfo.fsname ()); |