summaryrefslogtreecommitdiff
path: root/bootloader/main.c
diff options
context:
space:
mode:
authorSteve Bavin <pondlife@pondlife.me>2007-06-18 06:52:29 +0000
committerSteve Bavin <pondlife@pondlife.me>2007-06-18 06:52:29 +0000
commit0e16bd3cc9d0eaeea580da1f537b54557f5b1b88 (patch)
tree9468dde3c02ecff1bcbc610e0970cddd0973b81c /bootloader/main.c
parentf927a14355f9fbc32a79fb0af5bcb7ad53bf2f48 (diff)
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
Diffstat (limited to 'bootloader/main.c')
-rw-r--r--bootloader/main.c2
1 files changed, 1 insertions, 1 deletions
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();