]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
plugins/ocp: update nvme_show_select_result call
authorDaniel Wagner <dwagner@suse.de>
Thu, 16 Nov 2023 10:22:33 +0000 (11:22 +0100)
committerDaniel Wagner <wagi@monom.org>
Thu, 16 Nov 2023 10:32:26 +0000 (11:32 +0100)
The recent nvme-print-json refactoring/exstension changed the
nvme_show_select_result function signature but missed to update the ocp
plugin. Pass in the fid to the show function.

Fixes: 28a3a0975a33 ("nvme-print-json: Change to report feature select in array")
Signed-off-by: Daniel Wagner <dwagner@suse.de>
plugins/ocp/ocp-nvme.c

index fcb8819cfe17e92ac62f8cc98d4638774992af06..cc67a091cd37e267a3dfd7bea59b44e52de84363 100644 (file)
@@ -2092,7 +2092,7 @@ static int get_plp_health_check_interval(int argc, char **argv, struct command *
         printf("get-feature:0xC6 %s value: %#08x\n", nvme_select_to_string(cfg.sel), result);
 
         if (cfg.sel == NVME_GET_FEATURES_SEL_SUPPORTED)
-            nvme_show_select_result(result);
+            nvme_show_select_result(fid, result);
     } else {
         nvme_show_error("Could not get feature: 0xC6");
     }