Skip to content

Commit

Permalink
rpl: Fix DEBUG print which broke in 5585413
Browse files Browse the repository at this point in the history
rpl: pass rpl_instance_t directly instead of its id RIOT-OS#2604
RIOT-OS#2604
  • Loading branch information
Joakim Gebart committed Mar 21, 2015
1 parent cbda26d commit 8865d9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sys/net/routing/rpl/rpl_dodag.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ rpl_instance_t *rpl_get_my_instance(void)
rpl_dodag_t *rpl_new_dodag(rpl_instance_t *inst, ipv6_addr_t *dodagid)
{
if (inst == NULL) {
DEBUGF("Error - No instance found for id %d. This should not happen\n",
instanceid);
DEBUGF("Error - No instance found for id %p. This should not happen\n",
inst);
return NULL;
}

Expand Down

0 comments on commit 8865d9f

Please sign in to comment.