mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 20:08:15 +08:00
assert: switch from ASSERT(0/false) to PANIC
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
committed by
Xiang Xiao
parent
1280a2a8f9
commit
f952b8456c
@@ -563,7 +563,7 @@ int up_relocateadd(const Elf_Rela *rel, const Elf_Sym *sym,
|
||||
default:
|
||||
berr("ERROR: Unsupported relocation: %ld\n",
|
||||
ARCH_ELF_RELTYPE(rel->r_info));
|
||||
ASSERT(false);
|
||||
PANIC();
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user