diff --git a/cpu/native/irq_cpu.c b/cpu/native/irq_cpu.c
index 89c2acdf60c4567fd47503f62f37effc49e00a62..07d9adfb211e80a58185af15b2f91fb3f47c3d16 100644
--- a/cpu/native/irq_cpu.c
+++ b/cpu/native/irq_cpu.c
@@ -245,7 +245,7 @@ int unregister_interrupt(int sig)
     sa.sa_flags = SA_RESTART | SA_SIGINFO;
 
     if (sigaction(sig, &sa, NULL)) {
-        err(1, "register_interrupt: sigaction");
+        err(1, "unregister_interrupt: sigaction");
     }
     return 0;
 }