mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
[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 <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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user