Index: apps/debug_menu.c =================================================================== --- apps/debug_menu.c (revision 23592) +++ apps/debug_menu.c (working copy) @@ -754,7 +754,7 @@ struct partinfo* p = disk_partinfo(partition); if (selected_item%2) { - snprintf(buffer, buffer_len, " T:%x %ld MB", p->type, p->size / 2048); + snprintf(buffer, buffer_len, " T:%x %ld MB", p->type, p->size / ( 2048 / ( SECTOR_SIZE / 512 ))); } else {