diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 22:36:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-06-30 22:36:10 +0000 |
commit | 61d0a8bdffbbb7229776d2f4f2e79ed22d21551f (patch) | |
tree | 2e249969fedce45eb37ae6314ad167595900fe38 /examples | |
parent | Releasing debian version 1.4-4. (diff) | |
download | libnvme-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')
-rw-r--r-- | examples/discover-loop.py | 2 | ||||
-rw-r--r-- | examples/mi-mctp.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/discover-loop.py b/examples/discover-loop.py index 09a976b..8481e82 100644 --- a/examples/discover-loop.py +++ b/examples/discover-loop.py @@ -56,7 +56,7 @@ except Exception as e: sys.exit(f'Failed to discover: {e}') try: -c.disconnect() + c.disconnect() except Exception as e: sys.exit(f'Failed to disconnect: {e}') 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; } |