summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bootloader/iriver_h300.c2
-rw-r--r--bootloader/main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/iriver_h300.c b/bootloader/iriver_h300.c
index a25e3ae30b..79d8cbad3c 100644
--- a/bootloader/iriver_h300.c
+++ b/bootloader/iriver_h300.c
@@ -356,7 +356,7 @@ void main(void)
printf("Loading firmware");
i = load_firmware((unsigned char *)DRAM_START, BOOTFILE, MAX_LOADSIZE);
if(i < 0)
- printf("Error: %d", strerror(i));
+ printf("Error: %s", strerror(i));
if (i == EOK)
start_firmware();
diff --git a/bootloader/main.c b/bootloader/main.c
index 1117b649d0..ac9a7ad2ba 100644
--- a/bootloader/main.c
+++ b/bootloader/main.c
@@ -565,7 +565,7 @@ void main(void)
printf("Loading firmware");
i = load_firmware((unsigned char *)DRAM_START, BOOTFILE, MAX_LOADSIZE);
if(i < 0)
- printf("Error: %d", strerror(i));
+ printf("Error: %s", strerror(i));
if (i == EOK)
start_firmware();