---
name: "nvme_init_get_log_fw_slot-libnvme3"
section: "2"
platform: "linux"
package: "nvme-cli"
version: "3.2-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/nvme_init_get_log_fw_slot-libnvme3"
---

# nvme\_init\_get\_log\_fw\_slot-libnvme3(2)

Initialize passthru command for Firmware Slot Information

## NAME

nvme\_init\_get\_log\_fw\_slot - Initialize passthru command for Firmware Slot Information

## SYNOPSIS

**void nvme\_init\_get\_log\_fw\_slot** **(struct libnvme\_passthru\_cmd \*cmd** *,* **struct nvme\_firmware\_slot \*fw\_log** *);*

## ARGUMENTS

- cmd

  Passthru command to use

- fw\_log

  User address to store the log page

## DESCRIPTION

Initializes the passthru command buffer for the Get Log command with LID value NVME\_LOG\_LID\_SMART.
