]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsactl: fix the syslog message - add : delimiter after function:line
authorJaroslav Kysela <perex@perex.cz>
Sat, 20 Jun 2020 06:46:53 +0000 (08:46 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sat, 20 Jun 2020 06:47:01 +0000 (08:47 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/utils.c

index 9d4166febc7a6e26524713f45177c4d50f9174c6..a83aa0ab14e9d6e567557874b6e97dc7e6f67803 100644 (file)
@@ -107,7 +107,7 @@ static void syslog_(int prio, const char *fcn, long line,
 {
        char buf[1024];
 
-       snprintf(buf, sizeof(buf), "%s: %s:%ld", command, fcn, line);
+       snprintf(buf, sizeof(buf), "%s: %s:%ld", command, fcn, line);
        buf[sizeof(buf)-1] = '\0';
        vsnprintf(buf + strlen(buf), sizeof(buf)-strlen(buf), fmt, ap);
        buf[sizeof(buf)-1] = '\0';