OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4779efc
)
[PATCH] pr_debug: sysfs: use size_t length modifier in pr_debug format arguments
author
Zach Brown
<zach.brown@oracle.com>
Tue, 3 Oct 2006 08:16:06 +0000
(
01:16
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 3 Oct 2006 15:04:19 +0000
(08:04 -0700)
sysfs: use size_t length modifier in pr_debug format arguments
Signed-off-by: Zach Brown <zach.brown@oracle.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/sysfs/file.c
patch
|
blob
|
history
diff --git
a/fs/sysfs/file.c
b/fs/sysfs/file.c
index
cf37866
..
146f1de
100644
(file)
--- a/
fs/sysfs/file.c
+++ b/
fs/sysfs/file.c
@@
-157,8
+157,8
@@
sysfs_read_file(struct file *file, char __user *buf, size_t count, loff_t *ppos)
if ((retval = fill_read_buffer(file->f_dentry,buffer)))
goto out;
}
- pr_debug("%s: count = %d, ppos = %lld, buf = %s\n",
- __FUNCTION__,
count,*ppos,
buffer->page);
+ pr_debug("%s: count = %
z
d, ppos = %lld, buf = %s\n",
+ __FUNCTION__,
count, *ppos,
buffer->page);
retval = flush_read_buffer(buffer,buf,count,ppos);
out:
up(&buffer->sem);