Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nvme.c
Original file line number Diff line number Diff line change
Expand Up @@ -7067,7 +7067,7 @@ static int write_uncor(int argc, char **argv, struct command *acmd, struct plugi

nvme_init_write_uncorrectable(&cmd, cfg.namespace_id, cfg.start_block,
cfg.block_count, cfg.dtype << 4, cfg.dspec);
err = nvme_submit_admin_passthru(hdl, &cmd, NULL);
err = nvme_submit_io_passthru(hdl, &cmd, NULL);
if (err < 0)
nvme_show_error("write uncorrectable: %s", nvme_strerror(err));
else if (err != 0)
Expand Down