mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
[SCSI] iscsi: add newline to sysfs output
From: tomof@acm.org trivial cleanup of show_transport_handle() Signed-off-by: Alex Aizman <itn780@yahoo.com> Signed-off-by: Dmitry Yusupov <dmitry_yus@yahoo.com> Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
parent
02cf9311ee
commit
762e2bfac7
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ static ssize_t
|
|||
show_transport_handle(struct class_device *cdev, char *buf)
|
||||
{
|
||||
struct iscsi_internal *priv = cdev_to_iscsi_internal(cdev);
|
||||
return sprintf(buf, "%llu", (unsigned long long)iscsi_handle(priv->iscsi_transport));
|
||||
return sprintf(buf, "%llu\n", (unsigned long long)iscsi_handle(priv->iscsi_transport));
|
||||
}
|
||||
static CLASS_DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue