From: Daniel Wagner <dwagner@suse.de> Date: Thu, 16 Nov 2023 10:22:33 +0000 (+0100) Subject: plugins/ocp: update nvme_show_select_result call X-Git-Tag: v2.7~52 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=81d641f4b91fbf6a882f450a9b117ee23f917c92;p=users%2Fsagi%2Fnvme-cli.git 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 <dwagner@suse.de> --- 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"); }