lkml.org 
[lkml]   [2018]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 3/3] drivers/speakup: kobjects : Fixed Coding issues -Debugging
Date
Updated printk() of i18n messages to include KERN_INFO facility level to improve debuggin.
then later noticed that I forgot to add a space on printk.

Signed-off-by: Tamir Suliman <tsuliman@linuxvaults.com>
---
drivers/staging/speakup/kobjects.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/speakup/kobjects.c b/drivers/staging/speakup/kobjects.c
index 7e79f99..af664f0 100644
--- a/drivers/staging/speakup/kobjects.c
+++ b/drivers/staging/speakup/kobjects.c
@@ -740,7 +740,7 @@ static void report_msg_status(int reset, int received, int used,
snprintf(buf + (len - 1), sizeof(buf) - (len - 1),
" with %d reject%s\n",
rejected, rejected > 1 ? "s" : "");
- printk(KERN_INFO "i18n messages rejected\n",buf);
+ printk(KERN_INFO "i18n messages rejected\n", buf);
}
}

--
1.8.3.1
\
 
 \ /
  Last update: 2018-07-05 04:13    [W:0.048 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site