arch: fix some printf format errors

This commit is contained in:
Juha Niskanen 2021-04-29 19:32:29 +03:00 committed by Abdelatif Guettouche
parent 940c5b69c3
commit 07cde736bd
4 changed files with 4 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}