From 93b4c863dccdd6b9791a0e75baf24eb4984450a5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Mon, 24 Feb 2014 07:39:45 +0000 Subject: [PATCH] scst_local: Add newline to sysfs output Signed-off-by: Sebastian Herbszt [bvanassche: Reduced source code line length to 80 columns] git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5308 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst_local/scst_local.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/scst_local/scst_local.c b/scst_local/scst_local.c index 310a55b26..5953ae38e 100644 --- a/scst_local/scst_local.c +++ b/scst_local/scst_local.c @@ -375,9 +375,10 @@ static ssize_t scst_local_stats_show(struct kobject *kobj, struct kobj_attribute *attr, char *buf) { - return sprintf(buf, "Aborts: %d, Device Resets: %d, Target Resets: %d", - atomic_read(&num_aborts), atomic_read(&num_dev_resets), - atomic_read(&num_target_resets)); + return sprintf(buf, + "Aborts: %d, Device Resets: %d, Target Resets: %d\n", + atomic_read(&num_aborts), atomic_read(&num_dev_resets), + atomic_read(&num_target_resets)); } static struct kobj_attribute scst_local_stats_attr =