mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
md: add a newline when printing parameter 'start_ro' by sysfs
Add a missing newline when printing module parameter 'start_ro' by sysfs. Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: Song Liu <songliubraving@fb.com>
This commit is contained in:
parent
e4fc5a7429
commit
3f99980c8f
@ -9810,7 +9810,7 @@ module_exit(md_exit)
|
||||
|
||||
static int get_ro(char *buffer, const struct kernel_param *kp)
|
||||
{
|
||||
return sprintf(buffer, "%d", start_readonly);
|
||||
return sprintf(buffer, "%d\n", start_readonly);
|
||||
}
|
||||
static int set_ro(const char *val, const struct kernel_param *kp)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user