Only use MNT_NODEV if it is defined.

This commit is contained in:
Craig Rodrigues 2005-12-11 22:09:15 +00:00
parent fa9ca78083
commit 1b4472d8fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150919
2 changed files with 4 additions and 0 deletions

View File

@ -49,7 +49,9 @@ static struct optmap omap[] = {
{ MNT_SYNCHRONOUS, "sync" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
#ifdef MNT_NODEV
{ MNT_NODEV, "nodev" },
#endif
{ MNT_UNION, "union" },
{ MNT_ASYNC, "async" },
{ MNT_NOATIME, "noatime" },

View File

@ -49,7 +49,9 @@ static struct optmap omap[] = {
{ MNT_SYNCHRONOUS, "sync" },
{ MNT_NOEXEC, "noexec" },
{ MNT_NOSUID, "nosuid" },
#ifdef MNT_NODEV
{ MNT_NODEV, "nodev" },
#endif
{ MNT_UNION, "union" },
{ MNT_ASYNC, "async" },
{ MNT_NOATIME, "noatime" },