]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] sysfs: change print() to pr_debug() to not annoy everyone.
authorGreg Kroah-Hartman <greg@kroah.com>
Thu, 3 Jul 2003 09:06:08 +0000 (02:06 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Thu, 3 Jul 2003 09:06:08 +0000 (02:06 -0700)
fs/sysfs/bin.c

index 09ef6dcec6b284806e462a6771a8d654650772db..7f0d265d0bb98c001ca73a8353b7ca1f052a7595 100644 (file)
@@ -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 @@ read(struct file * file, char __user * userbuf, size_t count, loff_t * off)
        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;