提交 5a0d5237 编写于 作者: D Donald Dutile 提交者: Doug Ledford

ib/srp: Add missing new line after displaying fast_io_fail_tmo param

Long-time missing new-line in sysfs output.
Simply add it.
Signed-off-by: NDonald Dutile <ddutile@redhat.com>
Reviewed-by: NBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20191009164937.21989-1-ddutile@redhat.comSigned-off-by: NDoug Ledford <dledford@redhat.com>
上级 d302c6e3
......@@ -174,9 +174,9 @@ static int srp_tmo_get(char *buffer, const struct kernel_param *kp)
int tmo = *(int *)kp->arg;
if (tmo >= 0)
return sprintf(buffer, "%d", tmo);
return sprintf(buffer, "%d\n", tmo);
else
return sprintf(buffer, "off");
return sprintf(buffer, "off\n");
}
static int srp_tmo_set(const char *val, const struct kernel_param *kp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册