mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
native: refactor one debug/errx use in irq_cpu.c
This commit is contained in:
parent
b06eaeeefd
commit
e0a1217f20
@ -272,8 +272,7 @@ void native_irq_handler(void)
|
|||||||
DEBUG("ignoring SIGUSR1\n");
|
DEBUG("ignoring SIGUSR1\n");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
DEBUG("XXX: no handler for signal %i\n", sig);
|
errx(EXIT_FAILURE, "XXX: no handler for signal %i\nXXX: this should not have happened!\n", sig);
|
||||||
errx(1, "XXX: this should not have happened!\n");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user