Only use MNT_NODEV if it is defined.
This commit is contained in:
parent
fa9ca78083
commit
1b4472d8fe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150919
@ -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" },
|
||||
|
@ -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" },
|
||||
|
Loading…
Reference in New Issue
Block a user