LOG_PRINT: Fix out of order parameters
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 10 Aug 2008 17:40:30 +0000 (17:40 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Sun, 10 Aug 2008 17:40:30 +0000 (17:40 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1609 38d2e660-2303-0410-9eaa-f027e97ec537

bertos/cfg/log.h

index 2cfa4ef24b31e266655a5eb00ba6f11c6a89cbcb..f490669265d4c6d5b3344ebc1b51b431e10dcc74 100644 (file)
 #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