From e0a1217f20908c3e6f01bdc413cef1640e1c59d1 Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Wed, 26 Mar 2014 14:46:25 +0100 Subject: [PATCH] native: refactor one debug/errx use in irq_cpu.c --- cpu/native/irq_cpu.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpu/native/irq_cpu.c b/cpu/native/irq_cpu.c index 733fbed6c8..ac9ab3a43b 100644 --- a/cpu/native/irq_cpu.c +++ b/cpu/native/irq_cpu.c @@ -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); } }