mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-03-04 08:29:40 +00:00
Convert implicit printf to PRINTF
This commit is contained in:
parent
753cd22d56
commit
f34e5ec798
@ -32,7 +32,7 @@
|
|||||||
*
|
*
|
||||||
* This file is part of the Contiki operating system.
|
* This file is part of the Contiki operating system.
|
||||||
*
|
*
|
||||||
* $Id: rpl-icmp6.c,v 1.27 2010/11/03 15:41:23 adamdunkels Exp $
|
* $Id: rpl-icmp6.c,v 1.28 2010/12/04 21:06:04 dak664 Exp $
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* \file
|
* \file
|
||||||
@ -498,7 +498,7 @@ dao_input(void)
|
|||||||
/* Check if this is a DAO forwarding loop. */
|
/* Check if this is a DAO forwarding loop. */
|
||||||
p = rpl_find_parent(dag, &dao_sender_addr);
|
p = rpl_find_parent(dag, &dao_sender_addr);
|
||||||
if(p != NULL && DAG_RANK(p->rank, dag) < DAG_RANK(dag->rank, dag)) {
|
if(p != NULL && DAG_RANK(p->rank, dag) < DAG_RANK(dag->rank, dag)) {
|
||||||
printf("RPL: Loop detected when receiving a unicast DAO from a node with a lower rank! (%u < %u)\n",
|
PRINTF("RPL: Loop detected when receiving a unicast DAO from a node with a lower rank! (%u < %u)\n",
|
||||||
DAG_RANK(p->rank, dag), DAG_RANK(dag->rank, dag));
|
DAG_RANK(p->rank, dag), DAG_RANK(dag->rank, dag));
|
||||||
rpl_local_repair(dag);
|
rpl_local_repair(dag);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user