mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:15:43 +01:00
Fix a build failure due to a misused format string.
This fixes builds with -Werror=format-security. Signed-off-by: Jordi Mallach <jordi@debian.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
093a371a27
commit
f2f5f7a7d3
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ static void syslog_(int prio, const char *fcn, long line,
|
|||
buf[sizeof(buf)-1] = '\0';
|
||||
vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
|
||||
buf[sizeof(buf)-1] = '\0';
|
||||
syslog(LOG_INFO, buf);
|
||||
syslog(LOG_INFO, "%s", buf);
|
||||
}
|
||||
|
||||
void info_(const char *fcn, long line, const char *fmt, ...)
|
||||
|
|
Loading…
Reference in a new issue