Skip to content

Commit b8f6363

Browse files
authored
Update ioctl.h
1 parent c434d43 commit b8f6363

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/ioctl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1326,7 +1326,7 @@ static inline int nvme_get_log_smart(int fd, __u32 nsid, bool rae,
13261326
static inline int nvme_get_log_fw_slot(int fd, bool rae,
13271327
struct nvme_firmware_slot *fw_log)
13281328
{
1329-
return nvme_get_nsid_log(fd, rae, NVME_LOG_LID_SMART,
1329+
return nvme_get_nsid_log(fd, rae, NVME_LOG_LID_FW_SLOT,
13301330
NVME_NSID_ALL, sizeof(*fw_log), fw_log);
13311331
}
13321332

0 commit comments

Comments
 (0)