aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-30 17:33:48 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2018-05-31 15:09:51 +0900
commit2357c437b260d0d8cb927e6878f1226bfafb9d0b (patch)
tree1842573395cb6ec19ed7a89157abbf8e077c1547 /include
parentd50188f726b15a0ae2777bf2d91ee88836feeac5 (diff)
Format source codes
* Format source codes * Change indent spaces to 4 from 3 * Remove trailing spaces in config.xml Change-Id: I745ba6c7cc4dcf4177add81666351c3c01de7d44 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'include')
-rw-r--r--include/hmi-debug.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/hmi-debug.h b/include/hmi-debug.h
index 2a744ba..a1d3079 100644
--- a/include/hmi-debug.h
+++ b/include/hmi-debug.h
@@ -56,15 +56,15 @@ static void _HMI_LOG(enum LOG_LEVEL level, const char* file, const char* func, c
unsigned int time;
clock_gettime(CLOCK_REALTIME, &tp);
- time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);
+ time = (tp.tv_sec * 1000000L) + (tp.tv_nsec / 1000);
- va_list args;
- va_start(args, log);
- if (log == NULL || vasprintf(&message, log, args) < 0)
+ va_list args;
+ va_start(args, log);
+ if (log == NULL || vasprintf(&message, log, args) < 0)
message = NULL;
fprintf(stderr, "[%10.3f] [%s %s] [%s, %s(), Line:%d] >>> %s \n", time / 1000.0, prefix, ERROR_FLAG[level], file, func, line, message);
va_end(args);
- free(message);
+ free(message);
}
#endif //__HMI_DEBUG_H__ \ No newline at end of file