aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2005-09-12 22:01:46 -0400
committerJames Bottomley <jejb@mulgrave.(none)>2005-09-20 13:34:54 -0400
commit762e2bfac7bc5f21b04ff17138aac3c453fb6481 (patch)
tree60e21fc7ef9d9095702cf7066c0770d04f608fb4 /drivers
parent02cf9311ee4690373ebbe62a5986025c932bead0 (diff)
[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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/scsi_transport_iscsi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_transport_iscsi.c b/drivers/scsi/scsi_transport_iscsi.c
index e4fceca49e56..d010aeda9d62 100644
--- a/drivers/scsi/scsi_transport_iscsi.c
+++ b/drivers/scsi/scsi_transport_iscsi.c
@@ -97,7 +97,7 @@ static ssize_t
97show_transport_handle(struct class_device *cdev, char *buf) 97show_transport_handle(struct class_device *cdev, char *buf)
98{ 98{
99 struct iscsi_internal *priv = cdev_to_iscsi_internal(cdev); 99 struct iscsi_internal *priv = cdev_to_iscsi_internal(cdev);
100 return sprintf(buf, "%llu", (unsigned long long)iscsi_handle(priv->iscsi_transport)); 100 return sprintf(buf, "%llu\n", (unsigned long long)iscsi_handle(priv->iscsi_transport));
101} 101}
102static CLASS_DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL); 102static CLASS_DEVICE_ATTR(handle, S_IRUGO, show_transport_handle, NULL);
103 103