mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
rpl: edit the debug message for instance == NULL
This commit is contained in:
parent
d5848d687c
commit
9bdcfcbe33
@ -90,8 +90,7 @@ rpl_instance_t *rpl_get_my_instance(void)
|
|||||||
rpl_dodag_t *rpl_new_dodag(rpl_instance_t *inst, ipv6_addr_t *dodagid)
|
rpl_dodag_t *rpl_new_dodag(rpl_instance_t *inst, ipv6_addr_t *dodagid)
|
||||||
{
|
{
|
||||||
if (inst == NULL) {
|
if (inst == NULL) {
|
||||||
DEBUGF("Error - No instance found for id %p. This should not happen\n",
|
DEBUGF("Error - No instance specified\n");
|
||||||
inst);
|
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user