1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #4405 from cgundogan/pr/rpl/shell_fix

rpl: shell: do not use PRIu64
This commit is contained in:
Oleg Hahm 2015-12-04 16:41:06 +01:00
commit ee9a9fc825

View File

@ -203,11 +203,12 @@ int _gnrc_rpl_dodag_show(void)
cleanup = dodag->instance->cleanup < 0 ? 0 : dodag->instance->cleanup;
printf("\tdodag [%s | R: %d | OP: %s | CL: %" PRIi8 "s | "
"TR(I=[%d,%d], k=%d, c=%d, TC=%" PRIu64 "s, TI=%" PRIu64 "s)]\n",
"TR(I=[%d,%d], k=%d, c=%d, TC=%" PRIu32 "%" PRIu32 "s, TI=%" PRIu32 "%" PRIu32 "s)]\n",
ipv6_addr_to_str(addr_str, &dodag->dodag_id, sizeof(addr_str)),
dodag->my_rank, (dodag->node_status == GNRC_RPL_LEAF_NODE ? "Leaf" : "Router"),
cleanup, (1 << dodag->dio_min), dodag->dio_interval_doubl, dodag->trickle.k,
dodag->trickle.c, tc, ti);
dodag->trickle.c, (uint32_t) (tc >> 32), (uint32_t) (tc & 0xFFFFFFFF),
(uint32_t) (ti >> 32), (uint32_t) (ti & 0xFFFFFFFF));
gnrc_rpl_parent_t *parent;
LL_FOREACH(gnrc_rpl_instances[i].dodag.parents, parent) {