chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fix problems using scsi_id with udevstart
[elogind.git]
/
libsysfs
/
sysfs.h
diff --git
a/libsysfs/sysfs.h
b/libsysfs/sysfs.h
index 1b800ddcd2311104697370c5d03093c8200b1b43..7ac6efc678e804fca81ec1072284c58d4670b8d5 100644
(file)
--- a/
libsysfs/sysfs.h
+++ b/
libsysfs/sysfs.h
@@
-36,10
+36,7
@@
/* Debugging */
#ifdef DEBUG
#include "../logging.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
#else
#define dprintf(format, arg...) do { } while (0)
#endif