summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2008-10-05 16:18:21 +0200
committerKay Sievers <kay.sievers@vrfy.org>2008-10-05 16:18:21 +0200
commit85e73aef06d79771cee9cefb56ce830c3c2d3344 (patch)
treec23f69973ea30fe4b8d29d3a22d93be82d6cbeaf
parent30f8f896257189d6c931cadcfb4e892cb61d04cd (diff)
libudev: fix --enable-debug
-rw-r--r--TODO2
-rw-r--r--udev/lib/libudev-private.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/TODO b/TODO
index f960f2431b..d5633e1c6b 100644
--- a/TODO
+++ b/TODO
@@ -1,8 +1,8 @@
+ o add DVB variables to kernel, and drop shell script rule
o handle spaces in SYMLINK+=, do not create multiple links
o use libudev device in udev_rules.c
get rid of udevice, store rule matching state in rule iterator
o rework rules to a match-action list, instead of a rules array
- o add DVB variables to kernel, and drop shell script rule
o add watershed extra
o DEVTYPE for disks is set by the kernel, they will be removed from
the default rules
diff --git a/udev/lib/libudev-private.h b/udev/lib/libudev-private.h
index a9ad2f86a9..b74e26c97e 100644
--- a/udev/lib/libudev-private.h
+++ b/udev/lib/libudev-private.h
@@ -27,7 +27,7 @@ static inline void __attribute__ ((format(printf, 2, 3)))
log_null(struct udev *udev, const char *format, ...) {}
#ifdef USE_LOG
-# ifdef USE_DEBUG
+# ifdef DEBUG
# define dbg(udev, arg...) udev_log(udev, LOG_DEBUG, __FILE__, __LINE__, __FUNCTION__, ## arg)
# else
# define dbg(udev, arg...) log_null(udev, ## arg)