From 1c07209a6d5174d59ced500cfba959b73a45bae2 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Tue, 9 Oct 2012 09:42:51 +0000 Subject: [PATCH] add newline to log_ output --- src/debug.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/debug.h b/src/debug.h index 77cc8620f..10fbbe671 100644 --- a/src/debug.h +++ b/src/debug.h @@ -49,7 +49,7 @@ #ifdef HAVE_HCI_DUMP #define log_debug(format, ...) hci_dump_log(format, ## __VA_ARGS__) #else -#define log_debug(format, ...) printf(format, ## __VA_ARGS__) +#define log_debug(format, ...) printf(format "\n", ## __VA_ARGS__) #endif #else #define log_debug(...) @@ -59,7 +59,7 @@ #ifdef HAVE_HCI_DUMP #define log_info(format, ...) hci_dump_log(format, ## __VA_ARGS__) #else -#define log_info(format, ...) printf(format, ## __VA_ARGS__) +#define log_info(format, ...) printf(format "\n", ## __VA_ARGS__) #endif #else #define log_info(...) @@ -69,7 +69,7 @@ #ifdef HAVE_HCI_DUMP #define log_error(format, ...) hci_dump_log(format, ## __VA_ARGS__) #else -#define log_error(format, ...) printf(format, ## __VA_ARGS__) +#define log_error(format, ...) printf(format "\n", ## __VA_ARGS__) #endif #else #define log_error(...)