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/virtium/virtium-nvme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/virtium') diff --git a/plugins/virtium/virtium-nvme.c b/plugins/virtium/virtium-nvme.c index d9fc54e..b8cefe6 100644 --- a/plugins/virtium/virtium-nvme.c +++ b/plugins/virtium/virtium-nvme.c @@ -302,7 +302,7 @@ static int vt_add_entry_to_log(const int fd, const char *path, const struct vtvi return -1; } - ret = nvme_get_log_smart(fd, NVME_NSID_ALL, true, &smart.raw_smart); + ret = nvme_get_log_smart(fd, NVME_NSID_ALL, false, &smart.raw_smart); if (ret) { printf("Cannot read device SMART log\n"); return -1; @@ -354,7 +354,7 @@ static int vt_update_vtview_log_header(const int fd, const char *path, const str return -1; } - ret = nvme_get_log_fw_slot(fd, true, &header.raw_fw); + ret = nvme_get_log_fw_slot(fd, false, &header.raw_fw); if (ret) { printf("Cannot read device firmware log\n"); return -1; -- cgit v1.2.3