diff --git a/1_src/2-print_control/print_ctrl.h b/1_src/2-print_control/print_ctrl.h index cfde50fc90577d44a98062e93a245b73a1f4b107..1558d071879e5b931c37c93ace08283716fee40a 100644 --- a/1_src/2-print_control/print_ctrl.h +++ b/1_src/2-print_control/print_ctrl.h @@ -80,7 +80,7 @@ int pr_func(int tag, char *tagstr, char *filestr, const char *funcstr, int line, #define pr_err(...) \ pr_func(ERROR, name2str(ERROR), __FILE__, __func__, __LINE__, __VA_ARGS__) #define pr_warn(...) pr(WARN, name2str(WARN), __VA_ARGS__); -#define pr_info(...) pr(INFO, name2str(WARN), __VA_ARGS__); +#define pr_info(...) pr(INFO, name2str(INFO), __VA_ARGS__); #define pr_entry(inout) \ pr(ENTRY, name2str(ENTRY), "%s() %s", __func__, #inout); #define pr_debug(...) pr(DEBUG, name2str(DEBUG), __VA_ARGS__);