summaryrefslogtreecommitdiff
path: root/udev/udev-rules.c
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2009-06-14 17:53:15 +0200
committerKay Sievers <kay.sievers@vrfy.org>2009-06-14 17:53:15 +0200
commit045a3bc89e9cdb991aed3043792f032e4f397f11 (patch)
treeab4e69b91cf42570a05988da4104194aff8fe429 /udev/udev-rules.c
parent98ad80f8737b0cfcd264e32e37d6c5d4e35e4ea5 (diff)
USE_LOG -> ENABLE_LOGGING, DEBUG -> ENABLE_DEBUG, USE_SELINUX -> WITH_SELINUX
Diffstat (limited to 'udev/udev-rules.c')
-rw-r--r--udev/udev-rules.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/udev-rules.c b/udev/udev-rules.c
index 5cb381ebac..7db890fed9 100644
--- a/udev/udev-rules.c
+++ b/udev/udev-rules.c
@@ -211,7 +211,7 @@ struct rule_tmp {
unsigned int token_cur;
};
-#ifdef DEBUG
+#ifdef ENABLE_DEBUG
static const char *operation_str(enum operation_type type)
{
static const char *operation_strs[] = {
@@ -421,7 +421,7 @@ static inline const char *operation_str(enum operation_type type) { return NULL;
static inline const char *token_str(enum token_type type) { return NULL; }
static inline void dump_token(struct udev_rules *rules, struct token *token) {}
static inline void dump_rules(struct udev_rules *rules) {}
-#endif /* DEBUG */
+#endif /* ENABLE_DEBUG */
static int add_new_string(struct udev_rules *rules, const char *str, size_t bytes)
{