summaryrefslogtreecommitdiffstats
path: root/examples/mi-mctp.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:36:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-06-30 22:36:10 +0000
commit61d0a8bdffbbb7229776d2f4f2e79ed22d21551f (patch)
tree2e249969fedce45eb37ae6314ad167595900fe38 /examples/mi-mctp.c
parentReleasing debian version 1.4-4. (diff)
downloadlibnvme-61d0a8bdffbbb7229776d2f4f2e79ed22d21551f.tar.xz
libnvme-61d0a8bdffbbb7229776d2f4f2e79ed22d21551f.zip
Merging upstream version 1.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/mi-mctp.c')
-rw-r--r--examples/mi-mctp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mi-mctp.c b/examples/mi-mctp.c
index c9a3852..8019249 100644
--- a/examples/mi-mctp.c
+++ b/examples/mi-mctp.c
@@ -113,7 +113,7 @@ int do_info(nvme_mi_ep_t ep)
printf(" smart warnings: 0x%x\n", ss_health.sw);
printf(" composite temp: %d\n", ss_health.ctemp);
printf(" drive life used: %d%%\n", ss_health.pdlu);
- printf(" controller status: 0x%04x\n", le16_to_cpu(ss_health.pdlu));
+ printf(" controller status: 0x%04x\n", le16_to_cpu(ss_health.ccs));
return 0;
}