lkml.org 
[lkml]   [2003]   [Jul]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH] PCI and sysfs fixes for 2.5.74
From
Date
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 <linux/errno.h>
#include <linux/fs.h>
#include <linux/kobject.h>
@@ -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;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.057 / U:0.284 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site