[PATCH] clean up some debugging stuff in namedev.c
This commit is contained in:
parent
dca0297941
commit
149f210617
|
@ -21,6 +21,8 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#undef DEBUG
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
@ -530,7 +532,7 @@ label_found:
|
||||||
} else {
|
} else {
|
||||||
*temp = 0x00;
|
*temp = 0x00;
|
||||||
temp = strrchr(path, '/');
|
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)
|
if (strstr(temp, dev->id) != NULL)
|
||||||
found = 1;
|
found = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue