Skip to content

Commit f613562

Browse files
committed
feat: fix to set perfc feature save argument correctly
Previously incorrect save string poiner set to the argument. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 82fa6e5 commit f613562

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/feat/feat-nvme.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ static int perfc_set(struct nvme_dev *dev, __u8 fid, __u32 cdw11, struct perfc_c
168168
.fd = dev_fd(dev),
169169
.fid = fid,
170170
.cdw11 = cdw11,
171-
.save = save,
171+
.save = cfg->save,
172172
.timeout = NVME_DEFAULT_IOCTL_TIMEOUT,
173173
.result = &result,
174174
.data = &data,

0 commit comments

Comments
 (0)