diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:37:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-02-19 10:37:58 +0000 |
commit | 8c21fd00c98582703f1d0f701cd5bbfca2644b40 (patch) | |
tree | c5b54e8b4b235232b057a9c534d9a16d2208463d /examples | |
parent | Adding upstream version 1.7.1. (diff) | |
download | libnvme-8c21fd00c98582703f1d0f701cd5bbfca2644b40.tar.xz libnvme-8c21fd00c98582703f1d0f701cd5bbfca2644b40.zip |
Adding upstream version 1.8.upstream/1.8
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | examples/mi-mctp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/mi-mctp.c b/examples/mi-mctp.c index 8019249..e0b7644 100644 --- a/examples/mi-mctp.c +++ b/examples/mi-mctp.c @@ -201,7 +201,7 @@ int do_identify(nvme_mi_ep_t ep, int argc, char **argv) partial = argc > 2 && !strcmp(argv[2], "--partial"); - ctrl = nvme_mi_init_ctrl(ep, tmp); + ctrl = nvme_mi_init_ctrl(ep, ctrl_id); if (!ctrl) { warn("can't create controller"); return -1; @@ -211,7 +211,7 @@ int do_identify(nvme_mi_ep_t ep, int argc, char **argv) id_args.args_size = sizeof(id_args); id_args.cns = NVME_IDENTIFY_CNS_CTRL; id_args.nsid = NVME_NSID_NONE; - id_args.cntid = ctrl_id; + id_args.cntid = 0; id_args.csi = NVME_CSI_NVM; /* for this example code, we can either do a full or partial identify; |