[PATCH] input: fix missing newline in pr_err message

Haoyu Lu posted 1 patch 6 days, 7 hours ago
drivers/input/input.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] input: fix missing newline in pr_err message
Posted by Haoyu Lu 6 days, 7 hours ago
From: "haoyu.lu" <hechushiguitu666@gmail.com>

---
 drivers/input/input.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/input/input.c b/drivers/input/input.c
index 7b7490a1fbc6..092c92380911 100644
--- a/drivers/input/input.c
+++ b/drivers/input/input.c
@@ -2730,7 +2730,7 @@ static int __init input_init(void)
 	err = register_chrdev_region(MKDEV(INPUT_MAJOR, 0),
 				     INPUT_MAX_CHAR_DEVICES, "input");
 	if (err) {
-		pr_err("unable to register char major %d", INPUT_MAJOR);
+		pr_err("unable to register char major %d\n", INPUT_MAJOR);
 		goto fail2;
 	}
 
-- 
2.53.0.windows.1