diff options
Diffstat (limited to 'examples/mi-mctp.c')
-rw-r--r-- | examples/mi-mctp.c | 2 |
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; } |