summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/fs/ntfs/ntfs_vfsops.c2
-rw-r--r--sys/ntfs/ntfs_vfsops.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c
index 183d5dc..207cd77 100644
--- a/sys/fs/ntfs/ntfs_vfsops.c
+++ b/sys/fs/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;
}
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