add newline to log_ output

This commit is contained in:
matthias.ringwald 2012-10-09 09:42:51 +00:00
parent ba6f889f4f
commit 1c07209a6d

View File

@ -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(...)