Skip to content

Commit 650070a

Browse files
krajigaw
authored andcommitted
plugins/ssstc: Replace __uint16_t with uint16_t
uint16_t is ISO defined and comes from stdint.h, makes it portable across glibc and musl on linux. Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent dce32d9 commit 650070a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

plugins/ssstc/ssstc-nvme.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ void show_ssstc_add_smart_log_jsn(struct nvme_additional_smart_log *smart,
6464
unsigned int nsid, const char *devname)
6565
{
6666
struct json_object *root, *entry_stats, *dev_stats, *multi;
67-
__uint16_t wear_level_min = 0;
68-
__uint16_t wear_level_max = 0;
69-
__uint16_t wear_level_avg = 0;
67+
uint16_t wear_level_min = 0;
68+
uint16_t wear_level_max = 0;
69+
uint16_t wear_level_avg = 0;
7070
uint64_t raw_val = 0;
7171

7272
root = json_create_object();

0 commit comments

Comments
 (0)