diff --git a/arch/arm/src/efm32/efm32_usbdev.c b/arch/arm/src/efm32/efm32_usbdev.c index 5b29c9ca893..b81b403e8ae 100644 --- a/arch/arm/src/efm32/efm32_usbdev.c +++ b/arch/arm/src/efm32/efm32_usbdev.c @@ -5597,7 +5597,7 @@ void arm_usbinitialize(void) ret = irq_attach(EFM32_IRQ_USB, efm32_usbinterrupt, NULL); if (ret < 0) { - uerr("ERROR: irq_attach failed\n", ret); + uerr("ERROR: irq_attach failed: %d\n", ret); goto errout; } diff --git a/arch/arm/src/lpc54xx/lpc54_ethernet.c b/arch/arm/src/lpc54xx/lpc54_ethernet.c index fa4499a178b..223dc90cd82 100644 --- a/arch/arm/src/lpc54xx/lpc54_ethernet.c +++ b/arch/arm/src/lpc54xx/lpc54_ethernet.c @@ -3048,7 +3048,7 @@ int arm_netinitialize(int intf) { /* We could not attach the ISR to the interrupt */ - nerr("ERROR: irq_attach failed: %d\n", ret); + nerr("ERROR: irq_attach failed: %d\n", ret); return -EAGAIN; } diff --git a/arch/arm/src/stm32h7/stm32_otgdev.c b/arch/arm/src/stm32h7/stm32_otgdev.c index c5e38b7a337..09f6778887a 100644 --- a/arch/arm/src/stm32h7/stm32_otgdev.c +++ b/arch/arm/src/stm32h7/stm32_otgdev.c @@ -5608,7 +5608,7 @@ void arm_usbinitialize(void) ret = irq_attach(STM32_IRQ_OTG, stm32_usbinterrupt, NULL); if (ret < 0) { - uerr("irq_attach failed\n", ret); + uerr("ERROR: irq_attach failed: %d\n", ret); goto errout; } diff --git a/arch/arm/src/stm32l4/stm32l4_otgfsdev.c b/arch/arm/src/stm32l4/stm32l4_otgfsdev.c index 93ed1a58ef5..2bfe4cef083 100644 --- a/arch/arm/src/stm32l4/stm32l4_otgfsdev.c +++ b/arch/arm/src/stm32l4/stm32l4_otgfsdev.c @@ -5725,7 +5725,7 @@ void arm_usbinitialize(void) ret = irq_attach(STM32L4_IRQ_OTGFS, stm32l4_usbinterrupt, NULL); if (ret < 0) { - uerr("irq_attach failed\n", ret); + uerr("ERROR: irq_attach failed: %d\n", ret); goto errout; }