diff --git a/lib/libcuse/cuse_lib.c b/lib/libcuse/cuse_lib.c index f518e11d78f3..9d8352f81df1 100644 --- a/lib/libcuse/cuse_lib.c +++ b/lib/libcuse/cuse_lib.c @@ -425,7 +425,7 @@ cuse_dev_destroy(struct cuse_dev *cdev) TAILQ_REMOVE(&h_cuse, cdev, entry); cuse_unlock(); - error = ioctl(f_cuse, CUSE_IOCTL_DESTROY_DEV, cdev); + error = ioctl(f_cuse, CUSE_IOCTL_DESTROY_DEV, &cdev); if (error) return;