aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/translations/zh_CN/filesystems/sysfs.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/translations/zh_CN/filesystems/sysfs.txt')
-rw-r--r--Documentation/translations/zh_CN/filesystems/sysfs.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/translations/zh_CN/filesystems/sysfs.txt b/Documentation/translations/zh_CN/filesystems/sysfs.txt
index 7d3b05edb8ce..452271dda141 100644
--- a/Documentation/translations/zh_CN/filesystems/sysfs.txt
+++ b/Documentation/translations/zh_CN/filesystems/sysfs.txt
@@ -167,8 +167,8 @@ static ssize_t dev_attr_show(struct kobject *kobj, struct attribute *attr,
if (dev_attr->show)
ret = dev_attr->show(dev, dev_attr, buf);
if (ret >= (ssize_t)PAGE_SIZE) {
- print_symbol("dev_attr_show: %s returned bad count\n",
- (unsigned long)dev_attr->show);
+ printk("dev_attr_show: %pS returned bad count\n",
+ dev_attr->show);
}
return ret;
}