From 67064cf9f0f8ea6f55b0f1f91199e22597768d80 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 10 Feb 2015 13:32:28 +0000 Subject: [PATCH] scst_local: Add newline to sysfs output (merge r5308 from trunk) git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/2.2.x@6050 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 a32432e4e..42c4dd7ab 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 =