summaryrefslogtreecommitdiffstats
path: root/sys/ntfs
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-09-01 15:17:18 +0000
committerphk <phk@FreeBSD.org>1999-09-01 15:17:18 +0000
commit32dbcab94c5904dd525d0aa9f52f2ed091ddf5df (patch)
tree9331fdc77d9be989cb4a8a45cb7f788b161b1c2f /sys/ntfs
parent64012538c9548d39acad7dff10ec629ace9f5fb6 (diff)
downloadFreeBSD-src-32dbcab94c5904dd525d0aa9f52f2ed091ddf5df.zip
FreeBSD-src-32dbcab94c5904dd525d0aa9f52f2ed091ddf5df.tar.gz
Fix the sense of the vn_isdisk() check.
Diffstat (limited to 'sys/ntfs')
-rw-r--r--sys/ntfs/ntfs_vfsops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/ntfs/ntfs_vfsops.c b/sys/ntfs/ntfs_vfsops.c
index 183d5dc..207cd77 100644
--- a/sys/ntfs/ntfs_vfsops.c
+++ b/sys/ntfs/ntfs_vfsops.c
@@ -290,7 +290,7 @@ ntfs_mount (
devvp = ndp->ni_vp;
- if (vn_isdisk(devvp)) {
+ if (!vn_isdisk(devvp)) {
err = ENOTBLK;
goto error_2;
}
OpenPOWER on IntegriCloud