chiark / gitweb /
[PATCH] Revert previous dev_d.c change, it's not what is causing HAL problems.
[elogind.git] / libsysfs / sysfs.h
index 1b800ddcd2311104697370c5d03093c8200b1b43..7ac6efc678e804fca81ec1072284c58d4670b8d5 100644 (file)
 /* 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