diff options
author | mm <mm@FreeBSD.org> | 2013-03-17 17:28:06 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2013-03-17 17:28:06 +0000 |
commit | 4e6fd9f85c16fb556fb77626827afcaac9104ac7 (patch) | |
tree | 2f48f3b0f4dd638425f92ec51d7ec2869032f9c3 /sys/cddl/contrib/opensolaris/common | |
parent | 6c7511b96eb323641755bcec17f25f6f6f220a35 (diff) | |
download | FreeBSD-src-4e6fd9f85c16fb556fb77626827afcaac9104ac7.zip FreeBSD-src-4e6fd9f85c16fb556fb77626827afcaac9104ac7.tar.gz |
Fix accidentially changed ioc variable for old v15 compatibility
Diffstat (limited to 'sys/cddl/contrib/opensolaris/common')
-rw-r--r-- | sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c b/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c index 926ba26..f0318b0 100644 --- a/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c +++ b/sys/cddl/contrib/opensolaris/common/zfs/zfs_ioctl_compat.c @@ -587,7 +587,7 @@ zcmd_ioctl_compat(int fd, int request, zfs_cmd_t *zc, const int cflag) case ZFS_CMD_COMPAT_V15: nc = zfs_ioctl_v28_to_v15[request]; zc_c = malloc(sizeof(zfs_cmd_v15_t)); - ncmd = _IOWR('Z', request, struct zfs_cmd_v15); + ncmd = _IOWR('Z', nc, struct zfs_cmd_v15); break; default: return (EINVAL); |