chiark / gitweb /
[PATCH] clean up some debugging stuff in namedev.c
[elogind.git] / 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>
@@ -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;
                        }