diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2005-12-11 22:09:15 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2005-12-11 22:09:15 +0000 |
commit | ebf7a2925f314f57ec189e642cc0b0ca9a03563b (patch) | |
tree | 0d42c525041de8e9d716aa814d1286087aeff68c /sysutils/filelight-kde4 | |
parent | 90fd92775fe12f370ba3ff2576c215af412af45c (diff) | |
download | FreeBSD-ports-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.zip FreeBSD-ports-ebf7a2925f314f57ec189e642cc0b0ca9a03563b.tar.gz |
Only use MNT_NODEV if it is defined.
Diffstat (limited to 'sysutils/filelight-kde4')
-rw-r--r-- | sysutils/filelight-kde4/files/mntent_compat.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/filelight-kde4/files/mntent_compat.cpp b/sysutils/filelight-kde4/files/mntent_compat.cpp index ae87680..0675cd2c 100644 --- a/sysutils/filelight-kde4/files/mntent_compat.cpp +++ b/sysutils/filelight-kde4/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" }, |