diff --git a/sys/fs/ntfs/ntfs_vfsops.c b/sys/fs/ntfs/ntfs_vfsops.c index 183d5dcd03cd..207cd7726e12 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 183d5dcd03cd..207cd7726e12 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; }