diff --git a/boards/native/drivers/native-uart0.c b/boards/native/drivers/native-uart0.c index 74f2328b0d..c28ca05c1f 100644 --- a/boards/native/drivers/native-uart0.c +++ b/boards/native/drivers/native-uart0.c @@ -241,7 +241,7 @@ void _native_handle_uart0_input() int _native_set_uart_fds(void) { - DEBUG("_native_set_uart_fds"); + DEBUG("_native_set_uart_fds\n"); FD_SET(STDIN_FILENO, &_native_rfds); if (_native_uart_sock == -1) { return (STDIN_FILENO); diff --git a/cpu/native/hwtimer_cpu.c b/cpu/native/hwtimer_cpu.c index 257b815944..d4221a5e99 100644 --- a/cpu/native/hwtimer_cpu.c +++ b/cpu/native/hwtimer_cpu.c @@ -195,7 +195,7 @@ void hwtimer_isr_timer() int_handler(next_timer); } else { - DEBUG("hwtimer_isr_timer(): this should not have happened"); + DEBUG("hwtimer_isr_timer(): this should not have happened\n"); } schedule_timer(); diff --git a/cpu/native/irq_cpu.c b/cpu/native/irq_cpu.c index 1785cdee51..f5a63e2002 100644 --- a/cpu/native/irq_cpu.c +++ b/cpu/native/irq_cpu.c @@ -273,7 +273,7 @@ void native_irq_handler() } } - DEBUG("native_irq_handler(): return"); + DEBUG("native_irq_handler(): return\n"); cpu_switch_context_exit(); } diff --git a/cpu/native/native_cpu.c b/cpu/native/native_cpu.c index 7bb817d609..df669a6f98 100644 --- a/cpu/native/native_cpu.c +++ b/cpu/native/native_cpu.c @@ -196,6 +196,6 @@ void native_cpu_init() VALGRIND_STACK_REGISTER(__end_stack, __end_stack + sizeof(__end_stack)); VALGRIND_DEBUG("VALGRIND_STACK_REGISTER(%p, %p)\n", __end_stack, (void*)((int)__end_stack + sizeof(__end_stack))); - DEBUG("RIOT native cpu initialized."); + DEBUG("RIOT native cpu initialized.\n"); } /** @} */ diff --git a/cpu/native/net/interface.c b/cpu/native/net/interface.c index 2ba0c9f9e4..59998dbea0 100644 --- a/cpu/native/net/interface.c +++ b/cpu/native/net/interface.c @@ -128,7 +128,7 @@ void nativenet_switch_to_rx() int _nativenet_register_cb(int event, void (*func)(void)) { if (event > NNEV_MAXEV) { - DEBUG("_nativenet_register_cb: event > NNEV_MAXEV"); + DEBUG("_nativenet_register_cb: event > NNEV_MAXEV\n"); return -1; } @@ -139,7 +139,7 @@ int _nativenet_register_cb(int event, void (*func)(void)) int _nativenet_unregister_cb(int event) { if (event > NNEV_MAXEV) { - DEBUG("_nativenet_unregister_cb: event > NNEV_MAXEV"); + DEBUG("_nativenet_unregister_cb: event > NNEV_MAXEV\n"); return -1; } @@ -150,7 +150,7 @@ int _nativenet_unregister_cb(int event) void do_cb(int event) { if (event > NNEV_MAXEV) { - DEBUG("do_cb: event > NNEV_MAXEV"); + DEBUG("do_cb: event > NNEV_MAXEV\n"); return; } diff --git a/cpu/native/net/tap.c b/cpu/native/net/tap.c index 19cc5faf78..7b7cc4faf1 100644 --- a/cpu/native/net/tap.c +++ b/cpu/native/net/tap.c @@ -77,7 +77,7 @@ void _native_handle_tap_input(void) if (ntohs(frame.field.header.ether_type) == NATIVE_ETH_PROTO) { nread = nread - ETHER_HDR_LEN; if ((nread - 1) <= 0) { - DEBUG("_native_handle_tap_input: no payload"); + DEBUG("_native_handle_tap_input: no payload\n"); } else { unsigned long t = hwtimer_now();