chiark / gitweb /
[PATCH] clean up some debugging stuff in namedev.c
authorgreg@kroah.com <greg@kroah.com>
Wed, 15 Oct 2003 06:20:18 +0000 (23:20 -0700)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:01:40 +0000 (21:01 -0700)
namedev.c

index d8dba34..782b73d 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -21,6 +21,8 @@
  *
  */
 
+#undef DEBUG
+
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
@@ -530,7 +532,7 @@ label_found:
                        } else {
                                *temp = 0x00;
                                temp = strrchr(path, '/');
-                               dbg("TOPOLOGY temp = '%s' id = '%s'", temp, dev->id);
+                               dbg("NUMBERY temp = '%s' id = '%s'", temp, dev->id);
                                if (strstr(temp, dev->id) != NULL)
                                        found = 1;
                        }