From fd268d35cbddff04fc0b27a8af2c97185c8a97ba Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Aug 2022 14:32:15 +0200 Subject: Merging upstream version 2.1.2. Signed-off-by: Daniel Baumann --- plugins/ocp/ocp-nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/ocp/ocp-nvme.c') diff --git a/plugins/ocp/ocp-nvme.c b/plugins/ocp/ocp-nvme.c index 56cfdff..52c28a8 100644 --- a/plugins/ocp/ocp-nvme.c +++ b/plugins/ocp/ocp-nvme.c @@ -429,7 +429,7 @@ static int ocp_smart_add_log(int argc, char **argv, struct command *cmd, return ret; } -static int ocp_print_C3_log_normal(int fd, struct ssd_latency_monitor_log *log_data) +static int ocp_print_C3_log_normal(struct ssd_latency_monitor_log *log_data) { printf("-Latency Monitor/C3 Log Page Data- \n"); printf(" Controller : %s\n", devicename); @@ -725,7 +725,7 @@ static int get_c3_log_page(int fd, char *format) switch (fmt) { case NORMAL: - ocp_print_C3_log_normal(fd, log_data); + ocp_print_C3_log_normal(log_data); break; case JSON: ocp_print_C3_log_json(log_data); -- cgit v1.2.3