summaryrefslogtreecommitdiffstats
path: root/plugins/micron
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:32:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2022-08-15 12:32:10 +0000
commitd183dae21720faf38bc4f516052a31227a58f212 (patch)
treeb44b23345eb9b308e49c96e616bc2faaf0ef256b /plugins/micron
parentAdding upstream version 2.1~rc0. (diff)
downloadnvme-cli-d183dae21720faf38bc4f516052a31227a58f212.tar.xz
nvme-cli-d183dae21720faf38bc4f516052a31227a58f212.zip
Adding upstream version 2.1.2.upstream/2.1.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/micron')
-rw-r--r--plugins/micron/micron-nvme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/micron/micron-nvme.c b/plugins/micron/micron-nvme.c
index d7ac3d4..1c3c51d 100644
--- a/plugins/micron/micron-nvme.c
+++ b/plugins/micron/micron-nvme.c
@@ -1759,7 +1759,7 @@ static void GetGenericLogs(int fd, const char *dir)
}
/* get fw slot info log */
- if (nvme_get_log_fw_slot(fd, 1, &fw_log) == 0) {
+ if (nvme_get_log_fw_slot(fd, false, &fw_log) == 0) {
WriteData((__u8*)&fw_log, sizeof(fw_log), dir,
"firmware_slot_info_log.bin", "firmware log");
}