aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/filelight/files
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2005-12-12 06:09:15 +0800
committerrodrigc <rodrigc@FreeBSD.org>2005-12-12 06:09:15 +0800
commitebf7a2925f314f57ec189e642cc0b0ca9a03563b (patch)
tree0d42c525041de8e9d716aa814d1286087aeff68c /sysutils/filelight/files
parent90fd92775fe12f370ba3ff2576c215af412af45c (diff)
downloadfreebsd-ports-gnome-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.tar.gz
freebsd-ports-gnome-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.tar.zst
freebsd-ports-gnome-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.zip
Only use MNT_NODEV if it is defined.
Diffstat (limited to 'sysutils/filelight/files')
-rw-r--r--sysutils/filelight/files/mntent_compat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/filelight/files/mntent_compat.cpp b/sysutils/filelight/files/mntent_compat.cpp
index ae8768030d54..0675cd2ccf7f 100644
--- a/sysutils/filelight/files/mntent_compat.cpp
+++ b/sysutils/filelight/files/mntent_compat.cpp
@@ -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" },