Skip to content

Commit 074b199

Browse files
ikegami-tigaw
authored andcommitted
nvme: correct to check dry-run option
Since incorrectly checked as dry_run. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent a53551f commit 074b199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nvme.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ int parse_and_open(struct nvme_global_ctx **ctx,
403403
nvme_transport_handle_set_submit_entry(hdl_new, nvme_submit_entry);
404404
nvme_transport_handle_set_submit_exit(hdl_new , nvme_submit_exit);
405405
nvme_transport_handle_set_decide_retry(hdl_new, nvme_decide_retry);
406-
nvme_set_dry_run(ctx_new, argconfig_parse_seen(opts, "dry_run"));
406+
nvme_set_dry_run(ctx_new, argconfig_parse_seen(opts, "dry-run"));
407407

408408
*ctx = ctx_new;
409409
*hdl = hdl_new;

0 commit comments

Comments
 (0)