Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-07-22 20:24:17 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-07-22 20:24:17 +0400
commit3955529c8b351de06a733adb225b195bb82eba91 (patch)
tree044b559f166de94f1a66efac61012c4eb8197eca /winsup/utils/path.cc
parent6c188691db7c649af3189cd71d6f674e48b1ffa9 (diff)
* mount.cc (do_mount): Replace --no-executable flag with notexec
mount option in hint for remote filesystems. * path.cc (getmntent): Fix typo (noexec -> notexec).
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r--winsup/utils/path.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc
index 63eda1640..63c2ccc43 100644
--- a/winsup/utils/path.cc
+++ b/winsup/utils/path.cc
@@ -882,7 +882,7 @@ getmntent (FILE *)
else if (m->flags & MOUNT_EXEC)
strcat (mnt.mnt_opts, (char *) ",exec");
else if (m->flags & MOUNT_NOTEXEC)
- strcat (mnt.mnt_opts, (char *) ",noexec");
+ strcat (mnt.mnt_opts, (char *) ",notexec");
if (m->flags & MOUNT_NOACL)
strcat (mnt.mnt_opts, (char *) ",noacl");