Fix wrong initialization of "cmd" for calling the jail/unjail ioctl.
Reviewed by: pjd@, delphij@ Approved by: re (kib) MFC after: 3 days
This commit is contained in:
parent
b8596ed3ac
commit
3036062f0c
@ -4289,7 +4289,8 @@ zfs_jail(zfs_handle_t *zhp, int jailid, int attach)
|
||||
libzfs_handle_t *hdl = zhp->zfs_hdl;
|
||||
zfs_cmd_t zc = { 0 };
|
||||
char errbuf[1024];
|
||||
int cmd, ret;
|
||||
unsigned long cmd;
|
||||
int ret;
|
||||
|
||||
if (attach) {
|
||||
(void) snprintf(errbuf, sizeof (errbuf),
|
||||
|
Loading…
x
Reference in New Issue
Block a user