libs: Convert DEBUGASSERT(false) into more intuitive DEBUGPANIC()
Signed-off-by: Gustavo Henrique Nihei <gustavo.nihei@espressif.com>
This commit is contained in:
parent
83442aa70c
commit
9b0e3ae9d2
1 changed files with 2 additions and 2 deletions
|
@ -135,7 +135,7 @@ int getnameinfo(FAR const struct sockaddr *addr, socklen_t addrlen,
|
|||
break;
|
||||
|
||||
default:
|
||||
DEBUGASSERT(0);
|
||||
DEBUGPANIC();
|
||||
}
|
||||
|
||||
/* Fall-back to numeric for the host name. */
|
||||
|
@ -154,7 +154,7 @@ int getnameinfo(FAR const struct sockaddr *addr, socklen_t addrlen,
|
|||
return EAI_OVERFLOW;
|
||||
|
||||
default:
|
||||
DEBUGASSERT(0);
|
||||
DEBUGPANIC();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue