aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/core/misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/core/misc.c b/sound/core/misc.c
index 102d1c36cf26..38524f615d94 100644
--- a/sound/core/misc.c
+++ b/sound/core/misc.c
@@ -39,7 +39,7 @@ void snd_verbose_printk(const char *file, int line, const char *format, ...)
39{ 39{
40 va_list args; 40 va_list args;
41 41
42 if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') { 42 if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
43 char tmp[] = "<0>"; 43 char tmp[] = "<0>";
44 tmp[1] = format[1]; 44 tmp[1] = format[1];
45 printk("%sALSA %s:%d: ", tmp, file, line); 45 printk("%sALSA %s:%d: ", tmp, file, line);
@@ -60,7 +60,7 @@ void snd_verbose_printd(const char *file, int line, const char *format, ...)
60{ 60{
61 va_list args; 61 va_list args;
62 62
63 if (format[0] == '<' && format[1] >= '0' && format[1] <= '9' && format[2] == '>') { 63 if (format[0] == '<' && format[1] >= '0' && format[1] <= '7' && format[2] == '>') {
64 char tmp[] = "<0>"; 64 char tmp[] = "<0>";
65 tmp[1] = format[1]; 65 tmp[1] = format[1];
66 printk("%sALSA %s:%d: ", tmp, file, line); 66 printk("%sALSA %s:%d: ", tmp, file, line);