summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c2
-rw-r--r--apps/menus/main_menu.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 2328784c96..a101097004 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1792,7 +1792,7 @@ static int disk_callback(int btn, struct gui_synclist *lists)
1792 simplelist_addline("Firmware: %s", info.revision); 1792 simplelist_addline("Firmware: %s", info.revision);
1793 simplelist_addline( 1793 simplelist_addline(
1794 "Size: %lld MB", (uint64_t)(info.num_sectors*(info.sector_size/512)/2048)); 1794 "Size: %lld MB", (uint64_t)(info.num_sectors*(info.sector_size/512)/2048));
1795 storage_t free; 1795 sector_t free;
1796 volume_size( IF_MV(0,) NULL, &free ); 1796 volume_size( IF_MV(0,) NULL, &free );
1797 simplelist_addline( 1797 simplelist_addline(
1798 "Free: %ld MB", free / 1024); 1798 "Free: %ld MB", free / 1024);
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 622280d487..61e8a70ecd 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -185,7 +185,7 @@ static int refresh_data(struct info_data *info)
185 max = drive; 185 max = drive;
186 else if (drive < max) 186 else if (drive < max)
187 break; 187 break;
188#elif defined(HAVE_MULTIVOLUME) 188#elif defined(HAVE_HOTSWAP) || defined(HAVE_DIRCACHE) || defined(HAVE_BOOTDATA)
189 if (volume_partition(i) == -1) 189 if (volume_partition(i) == -1)
190 break; 190 break;
191#endif 191#endif