HomeFreeBSD

mfiutil: Handle potential ioctl(2) failures in mfi_flash.c

Description

mfiutil: Handle potential ioctl(2) failures in mfi_flash.c

The return value of function 'mfi_dcmd_command' should always be checked for
the potential ioctl(2) failure.

PR: 281158
MFC after: 1 week
Pull Request: https://github.com/freebsd/freebsd-src/pull/1403

Details

Provenance
WHR <whr@rivoreo.one>Authored on Tue, Sep 3, 5:12 AM
delphijCommitted on Tue, Sep 3, 5:46 AM
Parents
rGc7dd97ec9968: vmstat: Add root element to libxo output
Branches
Unknown
Tags
Unknown