diff --git a/nvme.c b/nvme.c index 80b7a4a3d1..0ea351dc0f 100644 --- a/nvme.c +++ b/nvme.c @@ -4914,7 +4914,7 @@ static int get_feature_id_changed(struct libnvme_transport_handle *hdl, struct f __cleanup_libnvme_free void *buf_def = NULL; __cleanup_libnvme_free void *buf = NULL; __u64 result_def = 0; - __u64 result = 0; + __u64 result = -EINVAL; int err_def = 0; int err;