summaryrefslogtreecommitdiffstats
path: root/winsup/utils/path.cc
diff options
context:
space:
mode:
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");