chiark / gitweb /
[PATCH] udevd race conditions and performance, assorted cleanups
[elogind.git] / libsysfs / sysfs.h
index 1b800ddcd2311104697370c5d03093c8200b1b43..0fdb38af193b073dc8ac4dcd0b281dbf4935aeb3 100644 (file)
@@ -37,9 +37,7 @@
 #ifdef DEBUG
 #include "../logging.h" 
 #define dprintf(format, arg...)                                                                \
-       do {                                                                            \
-               log_message (LOG_DEBUG , "%s: " format , __FUNCTION__ , ## arg);        \
-       } while (0)
+       dbg(format, ##arg)
 #else
 #define dprintf(format, arg...) do { } while (0)
 #endif