diff mbox series

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

Message ID 20250407103017.2979821-1-18810879172@163.com (mailing list archive)
State New
Headers show
Series mm/hugetlb: Add a line break at the end of the format string | expand

Commit Message

18810879172@163.com April 7, 2025, 10:30 a.m. UTC
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 mbox series

Patch

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