diff options
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 f6e4bace7..7c7f58a7b 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -1301,7 +1301,7 @@ mount_info::add_item (const char *native, const char *posix, if (strcmp (posixtmp, "/usr/lib") == 0) got_usr_lib = true; - if (posixtmp[0] == '/' && posixtmp[1] == '\0') + if (posixtmp[0] == '/' && posixtmp[1] == '\0' && !(mountflags & MOUNT_CYGDRIVE)) root_idx = i; mount[i].init (nativetmp, posixtmp, mountflags); |