diff --git a/include/ucore/logging.h b/include/ucore/logging.h index 501a45d..b7bc443 100644 --- a/include/ucore/logging.h +++ b/include/ucore/logging.h @@ -274,7 +274,7 @@ void uc_logf(int log_level, int module, int raw, #ifdef DEBUG # define UC_DEBUGF(mod, fmt, ...)\ - uc_logf(UC_LL_DEBUG, mod,0 , UC_SRC_LOCATION fmt, ## __VA_ARGS__) + uc_logf(UC_LL_DEBUG, mod,0 , UC_SRC_LOCATION, fmt, ## __VA_ARGS__) # define UC_DEBUGFR(mod, fmt, ...)\ uc_logf(UC_LL_DEBUG, mod,1 , UC_SRC_LOCATION, fmt, ## __VA_ARGS__) #else