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
+1 -1
View File
@@ -5597,7 +5597,7 @@ void arm_usbinitialize(void)
ret = irq_attach(EFM32_IRQ_USB, efm32_usbinterrupt, NULL); ret = irq_attach(EFM32_IRQ_USB, efm32_usbinterrupt, NULL);
if (ret < 0) if (ret < 0)
{ {
uerr("ERROR: irq_attach failed\n", ret); uerr("ERROR: irq_attach failed: %d\n", ret);
goto errout; goto errout;
} }
+1 -1
View File
@@ -5608,7 +5608,7 @@ void arm_usbinitialize(void)
ret = irq_attach(STM32_IRQ_OTG, stm32_usbinterrupt, NULL); ret = irq_attach(STM32_IRQ_OTG, stm32_usbinterrupt, NULL);
if (ret < 0) if (ret < 0)
{ {
uerr("irq_attach failed\n", ret); uerr("ERROR: irq_attach failed: %d\n", ret);
goto errout; goto errout;
} }
+1 -1
View File
@@ -5725,7 +5725,7 @@ void arm_usbinitialize(void)
ret = irq_attach(STM32L4_IRQ_OTGFS, stm32l4_usbinterrupt, NULL); ret = irq_attach(STM32L4_IRQ_OTGFS, stm32l4_usbinterrupt, NULL);
if (ret < 0) if (ret < 0)
{ {
uerr("irq_attach failed\n", ret); uerr("ERROR: irq_attach failed: %d\n", ret);
goto errout; goto errout;
} }