]> err.no Git - linux-2.6/commitdiff
[SCSI] iscsi: add newline to sysfs output
authorMike Christie <michaelc@cs.wisc.edu>
Tue, 13 Sep 2005 02:01:46 +0000 (21:01 -0500)
committerJames Bottomley <jejb@mulgrave.(none)>
Tue, 20 Sep 2005 17:34:54 +0000 (12:34 -0500)
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>
drivers/scsi/scsi_transport_iscsi.c

index e4fceca49e564d09165c141deee3f843ef2aed99..d010aeda9d62021a4b7cf569150236fece68b594 100644 (file)
@@ -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);