From: bernie Date: Sun, 10 Aug 2008 17:40:30 +0000 (+0000) Subject: LOG_PRINT: Fix out of order parameters X-Git-Tag: 2.0.0~325 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=f481adc9d8e495b3a306c996a8e064ccdd70ac43;p=bertos.git LOG_PRINT: Fix out of order parameters git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1609 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/bertos/cfg/log.h b/bertos/cfg/log.h index 2cfa4ef2..f4906692 100644 --- a/bertos/cfg/log.h +++ b/bertos/cfg/log.h @@ -136,7 +136,7 @@ #define LOG_VERBOSE LOG_FMT_VERBOSE /* OBSOLETE */ #if LOG_FORMAT == LOG_FMT_VERBOSE - #define LOG_PRINT(str_level, str,...) kprintf("%s():%d:%s: " str, str_level, __func__, __LINE__, ## __VA_ARGS__) + #define LOG_PRINT(str_level, str,...) kprintf("%s():%d:%s: " str, __func__, __LINE__, str_level, ## __VA_ARGS__) #elif LOG_FORMAT == LOG_FMT_TERSE #define LOG_PRINT(str_level, str,...) kprintf("%s: " str, str_level, ## __VA_ARGS__) #else