1
0
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:
Ludwig Ortmann 2014-03-26 14:46:25 +01:00
parent b06eaeeefd
commit e0a1217f20

View File

@ -272,8 +272,7 @@ void native_irq_handler(void)
DEBUG("ignoring SIGUSR1\n");
}
else {
DEBUG("XXX: no handler for signal %i\n", sig);
errx(1, "XXX: this should not have happened!\n");
errx(EXIT_FAILURE, "XXX: no handler for signal %i\nXXX: this should not have happened!\n", sig);
}
}