diff --git a/lib/fs.cc b/lib/fs.cc index 4f1265a..52d4930 100644 --- a/lib/fs.cc +++ b/lib/fs.cc @@ -783,7 +783,7 @@ namespace crucible { // ioctl buffer size does not include search key header or buffer size ioctl_arg = ByteVector(buf_size + sizeof(btrfs_ioctl_search_args_v2)); ioctl_ptr = ioctl_arg.get(); - ioctl_ptr->key = static_cast(*this); + ioctl_ptr->key = static_cast(*this); ioctl_ptr->buf_size = buf_size; // Don't bother supporting V1. Kernels that old have other problems. int rv = ioctl(fd, BTRFS_IOC_TREE_SEARCH_V2, ioctl_arg.data());