chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dca0297
)
[PATCH] clean up some debugging stuff in namedev.c
author
greg@kroah.com
<greg@kroah.com>
Wed, 15 Oct 2003 06:20:18 +0000
(23:20 -0700)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:01:40 +0000
(21:01 -0700)
namedev.c
patch
|
blob
|
history
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;
}