diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-07-22 20:21:33 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-07-22 20:21:33 +0400 |
commit | 6c188691db7c649af3189cd71d6f674e48b1ffa9 (patch) | |
tree | 4d867e3a05bd97d07df0cc31eb1a1c5fe9f9ec7d /winsup/cygwin/mount.cc | |
parent | ffea27fc8dfe09c9ec4edcf0ecfe41ed75e33267 (diff) |
* mount.cc (fillout_mntent): Fix typo (noexec -> notexec).
Diffstat (limited to 'winsup/cygwin/mount.cc')
-rw-r--r-- | winsup/cygwin/mount.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 0717f8eb6..487390b67 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -310,7 +310,7 @@ mount_info::init () PWCHAR pathend; WCHAR path[PATH_MAX]; - pathend = wcpcpy (path, cygwin_shared->installation_root); + pathend = wcpcpy (path, installation_root); create_root_entry (path); pathend = wcpcpy (pathend, L"\\etc\\fstab"); @@ -1433,7 +1433,7 @@ fillout_mntent (const char *native_path, const char *posix_path, unsigned flags) else if (flags & MOUNT_EXEC) strcat (_my_tls.locals.mnt_opts, (char *) ",exec"); else if (flags & MOUNT_NOTEXEC) - strcat (_my_tls.locals.mnt_opts, (char *) ",noexec"); + strcat (_my_tls.locals.mnt_opts, (char *) ",notexec"); if (flags & MOUNT_NOACL) strcat (_my_tls.locals.mnt_opts, (char *) ",noacl"); |