aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>2007-07-23 10:13:48 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-07-23 17:58:43 -0400
commitbbf17d6483a7feb4c1eeef9fd553976d4f394e4c (patch)
tree5135afa16b01bd0a7df511769cbb36c3b77315e9
parent60395bb60e0b5e4e0808ac8eb07a92f6c9cdea1f (diff)
[SCSI] aacraid: sysfs adapter reset/status format change.
We need to newline terminate responses from nodes within the sysfs tree, the Adapter status value reported by the reset adapter node is adjusted. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
-rw-r--r--drivers/scsi/aacraid/linit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index c709dc8ad99d..d27c838002a5 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -826,7 +826,7 @@ static ssize_t aac_show_reset_adapter(struct class_device *class_dev,
826 tmp = aac_adapter_check_health(dev); 826 tmp = aac_adapter_check_health(dev);
827 if ((tmp == 0) && dev->in_reset) 827 if ((tmp == 0) && dev->in_reset)
828 tmp = -EBUSY; 828 tmp = -EBUSY;
829 len = snprintf(buf, PAGE_SIZE, "0x%x", tmp); 829 len = snprintf(buf, PAGE_SIZE, "0x%x\n", tmp);
830 return len; 830 return len;
831} 831}
832 832