scsi: 53c700: Remove snprintf() from sysfs call-backs and replace with sysfs_emit()
[linux-2.6-microblaze.git] / drivers / scsi / 53c700.c
index 857be0f..85439e9 100644 (file)
@@ -2071,7 +2071,7 @@ NCR_700_show_active_tags(struct device *dev, struct device_attribute *attr, char
 {
        struct scsi_device *SDp = to_scsi_device(dev);
 
-       return snprintf(buf, 20, "%d\n", NCR_700_get_depth(SDp));
+       return sysfs_emit(buf, "%d\n", NCR_700_get_depth(SDp));
 }
 
 static struct device_attribute NCR_700_active_tags_attr = {