d998ade03e
[ Upstream commit fd38dd6abda589a8771e7872e4dea28c99c6a6ef ]
GCC 13.2.0 reported the warning of the print format specifier:
conf.c: In function ‘sysfs_get’:
conf.c:181:72: warning: format ‘%s’ expects argument of type ‘char *’, \
but argument 3 has type ‘int’ [-Wformat=]
181 | ksft_exit_fail_msg("sysfs: unable to read value '%s': %s\n",
| ~^
| |
| char *
| %d
The fix passes strerror(errno) as it was intended, like in the sibling error
exit message.
Fixes:
|
||
---|---|---|
.. | ||
conf.d | ||
.gitignore | ||
Makefile | ||
alsa-local.h | ||
conf.c | ||
mixer-test.c | ||
pcm-test.c | ||
pcm-test.conf | ||
test-pcmtest-driver.c |