From 85e73aef06d79771cee9cefb56ce830c3c2d3344 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Sun, 5 Oct 2008 16:18:21 +0200 Subject: [PATCH] libudev: fix --enable-debug --- TODO | 2 +- udev/lib/libudev-private.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index f960f243..d5633e1c 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 a9ad2f86..b74e26c9 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) -- 2.39.5