summaryrefslogtreecommitdiffstats
path: root/bootloader/ipod.c
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-11-21 15:20:25 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-11-21 15:20:25 +0000
commitac355de664fdd4c4a5c716d8b3a190a8202540aa (patch)
tree9a9c352ab31dd4adb3ea25b723f9ebeeff2511c3 /bootloader/ipod.c
parent6640978129e8d3153027060ca79ba17e62114d25 (diff)
downloadrockbox-ac355de664fdd4c4a5c716d8b3a190a8202540aa.tar.gz
rockbox-ac355de664fdd4c4a5c716d8b3a190a8202540aa.tar.bz2
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.c4
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)
}
pinfo = disk_partinfo(1);
- printf("Partition 1: 0x%02x %ld MB",
- pinfo->type, pinfo->size / 2048);
+ printf("Partition 1: 0x%02x %ld sectors",
+ pinfo->type, pinfo->size);
if (button_was_held || (btn==BUTTON_MENU)) {
/* If either the hold switch was on, or the Menu button was held, then