universal7885: libfm_slsi-impl: Correct strerror usage

strerror(errno) is correct
This commit is contained in:
roynatech2544 2022-11-07 20:24:40 +09:00
commit d222619857

View file

@ -22,7 +22,7 @@ static bool FMThread = false;
constexpr const char *FM_DEV_PATH = "/dev/radio0";
#define LOG_IOCTL_ERR(cmd) \
LOG_E(std::string("Failed to call" cmd "ioctl(), %d (%s)"), errno, strerror(-errno))
LOG_E(std::string("Failed to call" cmd "ioctl(), %d (%s)"), errno, strerror(errno))
#define LOG_IOCTL_ERR_ON_COND_NORETURN(cmd, cond) \
({ \