[PATCH 3/3] drivers/speakup: kobjects : Fixed Coding issues -Debugging
From: Tamir Suliman
Date: Wed Jul 04 2018 - 22:12:57 EST
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@xxxxxxxxxxxxxxx>
---
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