From 5bbfc6947e0e22412c4ed39055fbfb41726e4381 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 3079273cb..4b127fb34 100644 --- a/lib/loglib.h +++ b/lib/loglib.h @@ -54,7 +54,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