summaryrefslogtreecommitdiff
path: root/udev/lib
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 /udev/lib
parent30f8f896257189d6c931cadcfb4e892cb61d04cd (diff)
libudev: fix --enable-debug
Diffstat (limited to 'udev/lib')
-rw-r--r--udev/lib/libudev-private.h2
1 files changed, 1 insertions, 1 deletions
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)