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/seagate | |
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/seagate')
-rw-r--r-- | plugins/seagate/seagate-nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/seagate/seagate-nvme.c b/plugins/seagate/seagate-nvme.c index 516cb1e..a527c0f 100644 --- a/plugins/seagate/seagate-nvme.c +++ b/plugins/seagate/seagate-nvme.c @@ -848,7 +848,7 @@ static int temp_stats(int argc, char **argv, struct command *cmd, struct plugin if(strcmp(cfg.output_format,"json")) printf("Seagate Temperature Stats Information :\n"); /*STEP-1 : Get Current Temperature from SMART */ - err = nvme_get_log_smart(fd, 0xffffffff, true, &smart_log); + err = nvme_get_log_smart(fd, 0xffffffff, false, &smart_log); if (!err) { temperature = ((smart_log.temperature[1] << 8) | smart_log.temperature[0]); temperature = temperature ? temperature - 273 : 0; |