diff options
-rw-r--r-- | usr/src/uts/common/io/nvme/nvme.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/nvme/nvme.c b/usr/src/uts/common/io/nvme/nvme.c index fc864b791e..9b77410470 100644 --- a/usr/src/uts/common/io/nvme/nvme.c +++ b/usr/src/uts/common/io/nvme/nvme.c @@ -1448,7 +1448,7 @@ nvme_get_logpage(nvme_t *nvme, uint8_t logpage, ...) va_end(ap); - getlogpage.b.lp_numd = bufsize / sizeof (uint32_t); + getlogpage.b.lp_numd = bufsize / sizeof (uint32_t) - 1; cmd->nc_sqe.sqe_cdw10 = getlogpage.r; |