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 d8dba345d1e998b3064e79244df5b67e0f7caef8..782b73d0b9c8ce0add6b15ca1403646cf8a8231e 100644 (file)
--- a/namedev.c
+++ b/namedev.c
@@ -21,6 +21,8 @@
  *
  */
 
  *
  */
 
+#undef DEBUG
+
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
@@ -530,7 +532,7 @@ label_found:
                        } else {
                                *temp = 0x00;
                                temp = strrchr(path, '/');
                        } 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;
                        }
                                if (strstr(temp, dev->id) != NULL)
                                        found = 1;
                        }