chiark / gitweb /
add debug output to sysfs operations
[elogind.git] / logging.h
index dd520dd874908d39bd6771bc71437b06b65d7778..00b5f23b255eb4da13d85cdc35d9c50009ceb959 100644 (file)
--- a/logging.h
+++ b/logging.h
 #undef err
 #define err(format, arg...)                                                    \
        do {                                                                    \
-               log_message(LOG_ERR ,"%s: " format ,__FUNCTION__ ,## arg);              \
+               log_message(LOG_ERR ,"%s: " format ,__FUNCTION__ ,## arg);      \
        } while (0)
 
 #undef info
 #define info(format, arg...)                                                   \
        do {                                                                    \
-               log_message(LOG_INFO ,"%s: " format ,__FUNCTION__ ,## arg);             \
+               log_message(LOG_INFO ,"%s: " format ,__FUNCTION__ ,## arg);     \
        } while (0)
 
 #ifdef DEBUG