diff options
author | greg@kroah.com <greg@kroah.com> | 2003-10-15 23:50:13 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:40 -0700 |
commit | 6739707df53097ac378f8ff2f0aa694257e31da1 (patch) | |
tree | 841262fe4d59cc4200e8c8cb3dc7d100ea3cec8a /udev.h | |
parent | c27e69116d3ef0ea069a3c5146009ced08a0238b (diff) |
[PATCH] put config files and database in /etc/udev by default
Can be overridden on the makefile line.
Diffstat (limited to 'udev.h')
-rw-r--r-- | udev.h | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -34,15 +34,23 @@ #define dbg(format, arg...) do { } while (0) #endif +/* Parser needs it's own debugging statement, we usually don't care about this at all */ +#ifdef DEBUG_PARSER +#define dbg_parse(format, arg...) \ + do { \ + log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg); \ + } while (0) +#else + #define dbg_parse(format, arg...) do { } while (0) +#endif -/* Lots of constants that should be in a config file sometime */ - -/* Where udev should create its device nodes, trailing / needed */ -#define UDEV_ROOT "/udev/" extern int log_message (int level, const char *format, ...) __attribute__ ((format (printf, 2, 3))); + +/* Lots of constants that should be in a config file sometime */ + #define NAME_SIZE 100 #define OWNER_SIZE 30 #define GROUP_SIZE 30 |