chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] clean up some debugging stuff in namedev.c
[elogind.git]
/
namedev.c
diff --git
a/namedev.c
b/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("
TOPOLOG
Y temp = '%s' id = '%s'", temp, dev->id);
+ dbg("
NUMBER
Y temp = '%s' id = '%s'", temp, dev->id);
if (strstr(temp, dev->id) != NULL)
found = 1;
}
if (strstr(temp, dev->id) != NULL)
found = 1;
}