mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 05:36:22 +00:00
scst_local: Add newline to sysfs output
Signed-off-by: Sebastian Herbszt <herbszt@gmx.de> [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
This commit is contained in:
@@ -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 =
|
||||
|
||||
Reference in New Issue
Block a user