diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-11 21:31:07 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-11 21:31:07 +0000 |
commit | 63325f13cb304e8399d42e75776fec6d743ca1e7 (patch) | |
tree | 1efcfbb36435daab8091e17225c832e6a025e672 /editors | |
parent | a39b734d83b1ab019683c6fbb006a68ad70581e6 (diff) | |
download | ports-63325f13cb304e8399d42e75776fec6d743ca1e7.tar.gz ports-63325f13cb304e8399d42e75776fec6d743ca1e7.zip |
Notes
Diffstat (limited to 'editors')
-rw-r--r-- | editors/manedit/files/mntent_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/manedit/files/mntent_compat.c b/editors/manedit/files/mntent_compat.c index 9112983e61e6..da8a68b79af6 100644 --- a/editors/manedit/files/mntent_compat.c +++ b/editors/manedit/files/mntent_compat.c @@ -37,7 +37,9 @@ struct mntent *getmntent(FILE * filep) if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_SYNCHRONOUS) getmntent_addopt(&c, "sync"); if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_NOEXEC) getmntent_addopt(&c, "noexec"); if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_NOSUID) getmntent_addopt(&c, "nosuid"); +#ifdef MNT_NODEV if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_NODEV) getmntent_addopt(&c, "nodev"); +#endif if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_UNION) getmntent_addopt(&c, "union"); if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_ASYNC) getmntent_addopt(&c, "async"); if (getmntent_mntbufp[getmntent_mntpos].f_flags & MNT_NOATIME) getmntent_addopt(&c, "noatime"); |