diff --git a/arch/avr/src/at91uc3/at91uc3_irq.c b/arch/avr/src/at91uc3/at91uc3_irq.c
index 85945c030929e09b2dc42cc149633447371b8d47..6791c1fb37754441615fb8476c9e3878755b8ba2 100644
--- a/arch/avr/src/at91uc3/at91uc3_irq.c
+++ b/arch/avr/src/at91uc3/at91uc3_irq.c
@@ -321,7 +321,7 @@ unsigned int avr32_intirqno(unsigned int level)
           mask <<= 1;
         }
 
-       lldbg("Spurious interrupt: group=%d IRR=%08x\n", group, IRR);
+       lldbg("Spurious interrupt: group=%d IRR=%08x\n", group, irr);
        return -ENODEV;
     }