From c01dc771e79db93a8d781ac31a4fd88260b5d5be Mon Sep 17 00:00:00 2001 From: Richard Fuchs Date: Fri, 30 Apr 2021 13:41:45 -0400 Subject: [PATCH] TT#14008 fix debug logging bug Change-Id: Iedc442fef5ad153be52d6ba8fdd106294f9367da (cherry picked from commit 61a852fa71fc44903dc72789c5f1ff64875dbf04) --- lib/loglib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/loglib.h b/lib/loglib.h index 7c7bae0d7..a7ab9128f 100644 --- a/lib/loglib.h +++ b/lib/loglib.h @@ -56,7 +56,7 @@ extern const char * const log_level_descriptions[]; __ilog(prio, "[%s] " fmt, log_level_names[system], ##__VA_ARGS__); \ } while (0) #else -#define ilogsn(prio, system, fmt, ...) __ilog(prio, "[%s] " fmt, log_level_names[system], ##__VA_ARGS__) +#define ilogsn(system, prio, fmt, ...) __ilog(prio, "[%s] " fmt, log_level_names[system], ##__VA_ARGS__) #endif