Commit 5a0d5237 authored by Donald Dutile's avatar Donald Dutile Committed by 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: default avatarDonald Dutile <ddutile@redhat.com>
Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20191009164937.21989-1-ddutile@redhat.comSigned-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent d302c6e3
...@@ -174,9 +174,9 @@ static int srp_tmo_get(char *buffer, const struct kernel_param *kp) ...@@ -174,9 +174,9 @@ static int srp_tmo_get(char *buffer, const struct kernel_param *kp)
int tmo = *(int *)kp->arg; int tmo = *(int *)kp->arg;
if (tmo >= 0) if (tmo >= 0)
return sprintf(buffer, "%d", tmo); return sprintf(buffer, "%d\n", tmo);
else else
return sprintf(buffer, "off"); return sprintf(buffer, "off\n");
} }
static int srp_tmo_set(const char *val, const struct kernel_param *kp) static int srp_tmo_set(const char *val, const struct kernel_param *kp)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment