Skip to contentSkip to conversation

iscsi: add newline to sysfs output

PATCH New Mike Christie 1 participant 1 message Sep 13, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 6/9 iscsi: add newline to sysfs output

from [email protected]

trivial cleanup of show_transport_handle()

drivers/scsi/scsi_transport_iscsi.c +1 -1
@@ -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);