chiark / gitweb /
[PATCH] add volume_id support to the udev.spec file
[elogind.git] / libsysfs / sysfs.h
index 49c9285bc37aa1c874ca4fa6833cc8a429608d87..7ac6efc678e804fca81ec1072284c58d4670b8d5 100644 (file)
 #include <sys/stat.h>
 #include <fcntl.h>
 #include <errno.h>
+#include "dlist.h"
 
 /* Debugging */
 #ifdef DEBUG
 #include "../logging.h" 
-#define dprintf(format, arg...)                                                                \
-       do {                                                                            \
-               log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg);        \
-       } while (0)
+#define dprintf(format, arg...) dbg(format, ##arg)
 #else
 #define dprintf(format, arg...) do { } while (0)
 #endif