diff options
author | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-06 03:25:19 +0000 |
---|---|---|
committer | Craig Rodrigues <rodrigc@FreeBSD.org> | 2005-12-06 03:25:19 +0000 |
commit | 4dfc8bcd726079c7ee68d433a21fcb5350c10df7 (patch) | |
tree | 21fe151fe5083bdf9804f12eb0ea98468ead4a61 /net | |
parent | 1b6eb4d1000511d035fb0e17f453e140d749ee3b (diff) | |
download | ports-4dfc8bcd726079c7ee68d433a21fcb5350c10df7.tar.gz ports-4dfc8bcd726079c7ee68d433a21fcb5350c10df7.zip |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/linneighborhood/files/mntent_compat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/linneighborhood/files/mntent_compat.c b/net/linneighborhood/files/mntent_compat.c index 9112983e61e6..62b2eb3b7581 100644 --- a/net/linneighborhood/files/mntent_compat.c +++ b/net/linneighborhood/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"); +#if __FreeBSD_version < 700008 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"); |