mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-23 13:41:27 +00:00
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
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