mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-16 07:24:39 +08:00
fd38dd6abd
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 | ||
alsa-local.h | ||
conf.c | ||
Makefile | ||
mixer-test.c | ||
pcm-test.c | ||
pcm-test.conf | ||
test-pcmtest-driver.c |