Permalink
Browse files

Merge pull request #28 from zakar/bug-fix

fix incorrect macro
  • Loading branch information...
2 parents 1dece34 + f62c4f0 commit e74c1dcd2647221cc7e9cf10d507076d23d45073 benjamin-surma committed Feb 6, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/lib/logger.h
View
@@ -34,7 +34,7 @@ namespace flare {
#define log_err(fmt, ...) logger_singleton::instance().err(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
#define log_crit(fmt, ...) logger_singleton::instance().crit(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
#define log_alert(fmt, ...) logger_singleton::instance().alert(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
-#define log_emerge(fmt, ...) logger_singleton::instance().emerge(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
+#define log_emerg(fmt, ...) logger_singleton::instance().emerg(__FILE__, __LINE__, __func__, fmt, __VA_ARGS__)
#else
#define log_debug(fmt, ...) do {} while(0)
#define log_info(fmt, ...) do {} while(0)

0 comments on commit e74c1dc

Please sign in to comment.