diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2008-11-21 15:20:25 +0000 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2008-11-21 15:20:25 +0000 |
commit | ac355de664fdd4c4a5c716d8b3a190a8202540aa (patch) | |
tree | 9a9c352ab31dd4adb3ea25b723f9ebeeff2511c3 /bootloader/ipod.c | |
parent | 6640978129e8d3153027060ca79ba17e62114d25 (diff) | |
download | rockbox-ac355de664fdd4c4a5c716d8b3a190a8202540aa.tar.gz rockbox-ac355de664fdd4c4a5c716d8b3a190a8202540aa.zip |
Don't print partition sizes in megabytes, as that is buggy on 5.5G. Use sectors instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19170 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/ipod.c')
-rw-r--r-- | bootloader/ipod.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/ipod.c b/bootloader/ipod.c index 0325245884..cdf939c1fc 100644 --- a/bootloader/ipod.c +++ b/bootloader/ipod.c | |||
@@ -298,8 +298,8 @@ void* main(void) | |||
298 | } | 298 | } |
299 | 299 | ||
300 | pinfo = disk_partinfo(1); | 300 | pinfo = disk_partinfo(1); |
301 | printf("Partition 1: 0x%02x %ld MB", | 301 | printf("Partition 1: 0x%02x %ld sectors", |
302 | pinfo->type, pinfo->size / 2048); | 302 | pinfo->type, pinfo->size); |
303 | 303 | ||
304 | if (button_was_held || (btn==BUTTON_MENU)) { | 304 | if (button_was_held || (btn==BUTTON_MENU)) { |
305 | /* If either the hold switch was on, or the Menu button was held, then | 305 | /* If either the hold switch was on, or the Menu button was held, then |