From 81d641f4b91fbf6a882f450a9b117ee23f917c92 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Thu, 16 Nov 2023 11:22:33 +0100 Subject: [PATCH] plugins/ocp: update nvme_show_select_result call 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 --- plugins/ocp/ocp-nvme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ocp/ocp-nvme.c b/plugins/ocp/ocp-nvme.c index fcb8819c..cc67a091 100644 --- a/plugins/ocp/ocp-nvme.c +++ b/plugins/ocp/ocp-nvme.c @@ -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"); } -- 2.50.1