summaryrefslogtreecommitdiffstats
path: root/module/zfs/zfs_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs/zfs_ioctl.c')
-rw-r--r--module/zfs/zfs_ioctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/zfs_ioctl.c b/module/zfs/zfs_ioctl.c
index 2856ba7c4..45e118e53 100644
--- a/module/zfs/zfs_ioctl.c
+++ b/module/zfs/zfs_ioctl.c
@@ -3291,7 +3291,7 @@ out:
dsl_dataset_rele(ds, FTAG);
return (error);
#else
- return (EOPNOTSUPP);
+ return (ENOTSUP);
#endif /* HAVE_ZPL */
}