scst: Add a trailing newline when showing the cpu_mask sysfs parameter

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@8509 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2019-08-19 02:58:22 +00:00
parent 9a4b39b604
commit 377e720b26
+2
View File
@@ -1972,6 +1972,8 @@ static ssize_t __scst_acg_cpu_mask_show(struct scst_acg *acg, char *buf)
#endif
if (!cpumask_equal(&acg->acg_cpu_mask, &default_cpu_mask))
res += sprintf(&buf[res], "\n%s\n", SCST_SYSFS_KEY_MARK);
else
res += sprintf(&buf[res], "\n");
return res;
}