mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:36:30 +01:00
alsactl: use the right priority for syslog messages
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
b68e854d28
commit
0adca4cac7
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, "%s", buf);
|
||||
syslog(prio, "%s", buf);
|
||||
}
|
||||
|
||||
void info_(const char *fcn, long line, const char *fmt, ...)
|
||||
|
|
Loading…
Reference in a new issue