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/transcend | |
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/transcend')
-rw-r--r-- | plugins/transcend/transcend-nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/transcend/transcend-nvme.c b/plugins/transcend/transcend-nvme.c index 0a3d852..a3b739d 100644 --- a/plugins/transcend/transcend-nvme.c +++ b/plugins/transcend/transcend-nvme.c @@ -34,7 +34,7 @@ static int getHealthValue(int argc, char **argv, struct command *cmd, struct plu printf("\nDevice not found \n");; return -1; } - result = nvme_get_log_smart(fd, 0xffffffff, true, &smart_log); + result = nvme_get_log_smart(fd, 0xffffffff, false, &smart_log); if (!result) { printf("Transcend NVME heath value: "); percent_used =smart_log.percent_used; |