diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-15 12:32:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2022-08-15 12:32:10 +0000 |
commit | d183dae21720faf38bc4f516052a31227a58f212 (patch) | |
tree | b44b23345eb9b308e49c96e616bc2faaf0ef256b /plugins/innogrit/innogrit-nvme.c | |
parent | Adding upstream version 2.1~rc0. (diff) | |
download | nvme-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/innogrit/innogrit-nvme.c')
-rw-r--r-- | plugins/innogrit/innogrit-nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/innogrit/innogrit-nvme.c b/plugins/innogrit/innogrit-nvme.c index 214fe72..220a5a7 100644 --- a/plugins/innogrit/innogrit-nvme.c +++ b/plugins/innogrit/innogrit-nvme.c @@ -42,7 +42,7 @@ static int innogrit_smart_log_additional(int argc, char **argv, if (fd < 0) return fd; - nvme_get_log_smart(fd, cfg.namespace_id, true, &smart_log); + nvme_get_log_smart(fd, cfg.namespace_id, false, &smart_log); nvme_show_smart_log(&smart_log, cfg.namespace_id, devicename, NORMAL); printf("DW0[0-1] Defect Cnt : %u\n", pvsc_smart->defect_cnt); |