projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scsi: 53c700: Remove snprintf() from sysfs call-backs and replace with sysfs_emit()
[linux-2.6-microblaze.git]
/
drivers
/
scsi
/
53c700.c
diff --git
a/drivers/scsi/53c700.c
b/drivers/scsi/53c700.c
index
857be0f
..
85439e9
100644
(file)
--- a/
drivers/scsi/53c700.c
+++ b/
drivers/scsi/53c700.c
@@
-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 s
nprintf(buf, 20
, "%d\n", NCR_700_get_depth(SDp));
+ return s
ysfs_emit(buf
, "%d\n", NCR_700_get_depth(SDp));
}
static struct device_attribute NCR_700_active_tags_attr = {