Skip to content

Commit

Permalink
ccommon: broadbill: update slab setup to automatically setup when pro…
Browse files Browse the repository at this point in the history
…file is not explicitly given

RB_ID=735419
  • Loading branch information
kevyang committed Sep 22, 2015
1 parent 728115b commit 6a352e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/cc_debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ extern struct debug_logger *dlog;
} \
} while (0)

#define log(_level, ...) do { \
#define log_level(_level, ...) do { \
_log(dlog, __FILE__, __LINE__, _level, __VA_ARGS__); \
} while (0)

Expand All @@ -206,7 +206,7 @@ extern struct debug_logger *dlog;
#define log_verb(...)
#define log_vverb(...)

#define log(_level, ...)
#define log_level(_level, ...)
#define log_hexdump(_level, _data, _datalen, ...)

#endif
Expand Down

0 comments on commit 6a352e0

Please sign in to comment.