diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-09 04:54:32 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-09 04:54:32 +0000 |
commit | 94cc482c646f890f26c37f47d945c3c50f7fff87 (patch) | |
tree | 2def8707836a8ba69b614d037d4b30f3c9acfec5 /winsup/utils/umount.cc | |
parent | 7ac66bdda062e2211b01b7eb07f2b640c58271da (diff) | |
download | cygnal-94cc482c646f890f26c37f47d945c3c50f7fff87.tar.gz cygnal-94cc482c646f890f26c37f47d945c3c50f7fff87.tar.bz2 cygnal-94cc482c646f890f26c37f47d945c3c50f7fff87.zip |
* mount.cc (main): Use default system/user flag for cygdrive stuff, too.
(change_cygdrive_prefix): Change MOUNT_AUTO to MOUNT_CYGDRIVE.
* umount.cc (remove_cygdrive_prefix): Ditto.
(main): Use default system/user flag for cygdrive stuff, too.
Diffstat (limited to 'winsup/utils/umount.cc')
-rw-r--r-- | winsup/utils/umount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/utils/umount.cc b/winsup/utils/umount.cc index cd508a5e1..afcee5ee7 100644 --- a/winsup/utils/umount.cc +++ b/winsup/utils/umount.cc @@ -160,7 +160,7 @@ main (int argc, char **argv) case saw_remove_cygdrive_prefix: if (optind != argc) usage (); - remove_cygdrive_prefix (flags); + remove_cygdrive_prefix (flags | default_flag); break; case saw_remove_all_system_mounts: if (optind != argc) @@ -244,7 +244,7 @@ remove_all_system_mounts () static void remove_cygdrive_prefix (int flags) { - int res = cygwin_umount (NULL, flags | MOUNT_AUTO); + int res = cygwin_umount (NULL, flags | MOUNT_CYGDRIVE); if (res) error ("remove_cygdrive_prefix"); exit (0); |