summaryrefslogtreecommitdiffstats
path: root/plugins/ssstc
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 08:38:39 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 08:38:39 +0000
commit80b126032c7e73d273bc883e973b5f1a94aac581 (patch)
treee7d13cf4f02585c239665a6c5465735ffde429c8 /plugins/ssstc
parentReleasing debian version 2.9.1-3. (diff)
downloadnvme-cli-80b126032c7e73d273bc883e973b5f1a94aac581.tar.xz
nvme-cli-80b126032c7e73d273bc883e973b5f1a94aac581.zip
Merging upstream version 2.10.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'plugins/ssstc')
-rw-r--r--plugins/ssstc/ssstc-nvme.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ssstc/ssstc-nvme.c b/plugins/ssstc/ssstc-nvme.c
index 03e4fe3..302df98 100644
--- a/plugins/ssstc/ssstc-nvme.c
+++ b/plugins/ssstc/ssstc-nvme.c
@@ -64,9 +64,9 @@ void show_ssstc_add_smart_log_jsn(struct nvme_additional_smart_log *smart,
unsigned int nsid, const char *devname)
{
struct json_object *root, *entry_stats, *dev_stats, *multi;
- __uint16_t wear_level_min = 0;
- __uint16_t wear_level_max = 0;
- __uint16_t wear_level_avg = 0;
+ uint16_t wear_level_min = 0;
+ uint16_t wear_level_max = 0;
+ uint16_t wear_level_avg = 0;
uint64_t raw_val = 0;
root = json_create_object();