diff --git a/examples/rpl_udp/helper.c b/examples/rpl_udp/helper.c index 6a22910117..e1b3e92ccc 100644 --- a/examples/rpl_udp/helper.c +++ b/examples/rpl_udp/helper.c @@ -70,7 +70,7 @@ void rpl_udp_monitor(void) } else if (m.type == IPV6_PACKET_RECEIVED) { ipv6_buf = (ipv6_hdr_t*) m.content.ptr; - printf("IPv& datagram received (next header: %02X)", ipv6_buf->nextheader); + printf("IPv6 datagram received (next header: %02X)", ipv6_buf->nextheader); printf(" from %s ", ipv6_addr_to_str(addr_str, &ipv6_buf->srcaddr)); if (ipv6_buf->nextheader == IPV6_PROTO_NUM_ICMPV6) { icmpv6_buf = (icmpv6_hdr_t*) &ipv6_buf[(LL_HDR_LEN + IPV6_HDR_LEN) + ipv6_ext_hdr_len]; diff --git a/examples/rpl_udp/rpl.c b/examples/rpl_udp/rpl.c index fd85bdbf93..e96208c99a 100644 --- a/examples/rpl_udp/rpl.c +++ b/examples/rpl_udp/rpl.c @@ -171,7 +171,7 @@ void rpl_udp_dodag(char *unused) if (mydodag == NULL) { printf("Not part of a dodag\n"); - printf("---------------------------$\n"); + printf("---------------------------\n"); return; } @@ -182,5 +182,5 @@ void rpl_udp_dodag(char *unused) printf("my preferred parent:\n"); printf("%s\n", ipv6_addr_to_str(addr_str, (&mydodag->my_preferred_parent->addr))); } - printf("---------------------------$\n"); + printf("---------------------------\n"); } diff --git a/examples/rpl_udp/udp.c b/examples/rpl_udp/udp.c index c6f9bb4bfb..bcbc83f322 100644 --- a/examples/rpl_udp/udp.c +++ b/examples/rpl_udp/udp.c @@ -25,7 +25,7 @@ void udp_server(char *unused) { (void) unused; int udp_server_thread_pid = thread_create(udp_server_stack_buffer, KERNEL_CONF_STACKSIZE_MAIN, PRIORITY_MAIN, CREATE_STACKTEST, init_udp_server, "init_udp_server"); - printf("UDP SERVER THREAD PID: %i\n", udp_server_thread_pid); + printf("UDP SERVER ON PORT %d (THREAD PID: %d)\n", HTONS(SERVER_PORT), udp_server_thread_pid); } void init_udp_server(void) diff --git a/sys/net/transport_layer/destiny/destiny.c b/sys/net/transport_layer/destiny/destiny.c index 3f434c8f29..906219b66c 100644 --- a/sys/net/transport_layer/destiny/destiny.c +++ b/sys/net/transport_layer/destiny/destiny.c @@ -36,7 +36,7 @@ char tcp_timer_stack[TCP_TIMER_STACKSIZE]; int destiny_init_transport_layer(void) { - printf("Initializing transport layer packages. Size of socket_type: %u\n", + printf("Initializing transport layer packages. Size of socket_type: %zu\n", sizeof(socket_internal_t)); /* SOCKETS */ memset(sockets, 0, MAX_SOCKETS * sizeof(socket_internal_t));