diff options
author | mbr <mbr@FreeBSD.org> | 2008-03-31 14:35:29 +0800 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2008-03-31 14:35:29 +0800 |
commit | 166a344a615684d1bdacea22eed8dc67c5da2123 (patch) | |
tree | cec1d1645d4a71140d1628e0bb067b55cf210244 /emulators | |
parent | 854a5477f22ef1e83bed500d5e69b291e518ab2c (diff) | |
download | freebsd-ports-gnome-166a344a615684d1bdacea22eed8dc67c5da2123.tar.gz freebsd-ports-gnome-166a344a615684d1bdacea22eed8dc67c5da2123.tar.zst freebsd-ports-gnome-166a344a615684d1bdacea22eed8dc67c5da2123.zip |
Fix a check which was always true for FreeBSD Releases < 6
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/open-vm-tools/files/patch-vmblock-vfsops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulators/open-vm-tools/files/patch-vmblock-vfsops.c b/emulators/open-vm-tools/files/patch-vmblock-vfsops.c index 5f272a04bc54..9d99158476e8 100644 --- a/emulators/open-vm-tools/files/patch-vmblock-vfsops.c +++ b/emulators/open-vm-tools/files/patch-vmblock-vfsops.c @@ -5,7 +5,7 @@ MNT_ILOCK(mp); mp->mnt_flag |= lowerrootvp->v_mount->mnt_flag & MNT_LOCAL; -#if BSD_VERSION >= 60 -+#if __FreeBSD_version >= 60 ++#if __FreeBSD_version >= 600000 mp->mnt_kern_flag |= lowerrootvp->v_mount->mnt_kern_flag & MNTK_MPSAFE; #endif MNT_IUNLOCK(mp); |