aboutsummaryrefslogtreecommitdiff
path: root/helper
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2023-04-06 10:25:39 +0300
committerMatias Elo <matias.elo@nokia.com>2023-04-06 13:49:34 +0300
commit6820f5d8122268fd65fb031ecb217f1403bcf8a9 (patch)
tree76a301586de73f06061ec990d3db3f66e168ddd5 /helper
parentb7d63c073373ac0049d4266a375a7c15e595f7ad (diff)
linux-gen, helper: debug: add a space in logs after line information
To improve readability of logs, add a space after the file, line and function information. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'helper')
-rw-r--r--helper/include/odp/helper/odph_debug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper/include/odp/helper/odph_debug.h b/helper/include/odp/helper/odph_debug.h
index 157f765d6..7cb2ee617 100644
--- a/helper/include/odp/helper/odph_debug.h
+++ b/helper/include/odp/helper/odph_debug.h
@@ -64,7 +64,7 @@ typedef enum odph_log_level {
#define ODPH_LOG(level, fmt, ...) \
do { \
if (level != ODPH_LOG_DBG || ODPH_DEBUG_PRINT == 1) \
- fprintf(stderr, "%s:%d:%s():" fmt, __FILE__, \
+ fprintf(stderr, "%s:%d:%s(): " fmt, __FILE__, \
__LINE__, __func__, ##__VA_ARGS__); \
if (level == ODPH_LOG_ABORT) \
abort(); \