1
0
Fork 0
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:
Steve Bavin 2007-06-18 06:52:29 +00:00
parent f927a14355
commit 0e16bd3cc9
2 changed files with 2 additions and 2 deletions

View file

@ -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();

View file

@ -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();