[PATCH] mm/hugetlb: Add a line break at the end of the format string

18810879172@163.com posted 1 patch 10 months ago
mm/hugetlb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] mm/hugetlb: Add a line break at the end of the format string
Posted by 18810879172@163.com 10 months ago
From: wangxuewen <wangxuewen@kylinos.cn>

Missing line break at the end of the format string.

Signed-off-by: wangxuewen <wangxuewen@kylinos.cn>
---
 mm/hugetlb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/hugetlb.c b/mm/hugetlb.c
index 39f92aad7bd1..3e0d361fd299 100644
--- a/mm/hugetlb.c
+++ b/mm/hugetlb.c
@@ -4630,7 +4630,7 @@ static void __init hugetlb_sysfs_init(void)
 		err = hugetlb_sysfs_add_hstate(h, hugepages_kobj,
 					 hstate_kobjs, &hstate_attr_group);
 		if (err)
-			pr_err("HugeTLB: Unable to add hstate %s", h->name);
+			pr_err("HugeTLB: Unable to add hstate %s\n", h->name);
 	}
 
 #ifdef CONFIG_NUMA
-- 
2.34.1