ChangeSet 1.1371, 2003/07/03 16:06:08-07:00, greg@kroah.com [PATCH] sysfs: change print() to pr_debug() to not annoy everyone. fs/sysfs/bin.c | 4 +++- 1 files changed, 3 insertions(+), 1 deletion(-) diff -Nru a/fs/sysfs/bin.c b/fs/sysfs/bin.c --- a/fs/sysfs/bin.c Thu Jul 3 18:16:09 2003 +++ b/fs/sysfs/bin.c Thu Jul 3 18:16:09 2003 @@ -2,6 +2,8 @@ * bin.c - binary file operations for sysfs. */ +#undef DEBUG + #include #include #include @@ -48,7 +50,7 @@ if (copy_to_user(userbuf, buffer + offs, count) != 0) return -EINVAL; - printk("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count); + pr_debug("offs = %lld, *off = %lld, count = %zd\n", offs, *off, count); *off = offs + count;