forked from len0rd/rockbox
Fix bootloader error reporting as per patch FS#7314. Thanks again to James Teh.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13662 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f927a14355
commit
0e16bd3cc9
2 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue