diff options
author | Salyzyn, Mark <mark_salyzyn@adaptec.com> | 2007-07-23 10:13:48 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-23 16:58:43 -0500 |
commit | bbf17d6483a7feb4c1eeef9fd553976d4f394e4c (patch) | |
tree | 5135afa16b01bd0a7df511769cbb36c3b77315e9 /drivers/scsi | |
parent | 60395bb60e0b5e4e0808ac8eb07a92f6c9cdea1f (diff) | |
download | linux-3.10-bbf17d6483a7feb4c1eeef9fd553976d4f394e4c.tar.gz linux-3.10-bbf17d6483a7feb4c1eeef9fd553976d4f394e4c.tar.bz2 linux-3.10-bbf17d6483a7feb4c1eeef9fd553976d4f394e4c.zip |
[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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/aacraid/linit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c index c709dc8ad99..d27c838002a 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, tmp = aac_adapter_check_health(dev); if ((tmp == 0) && dev->in_reset) tmp = -EBUSY; - len = snprintf(buf, PAGE_SIZE, "0x%x", tmp); + len = snprintf(buf, PAGE_SIZE, "0x%x\n", tmp); return len; } |