From 51fe1b670551e866e5c78083a32b3187d7876bb5 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Sun, 28 Jul 2019 09:24:40 -0400 Subject: volume_ismounted is gated by HAVE_DIRCACHE rather than HAVE_MULTIVOLUME Should fix the various sim builds. Change-Id: I1dc5e8228698afb32c84ada2aa916e52e19f49d7 --- apps/menus/main_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menus/main_menu.c') diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 00959d074d..f71632099d 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -310,7 +310,7 @@ static int info_speak_item(int selected_item, void * data) if (info->new_data) { volume_size(IF_MV(0,) &info->size, &info->free); -#ifdef HAVE_MULTIVOLUME +#ifdef HAVE_DIRCACHE if (volume_ismounted(1)) volume_size(1, &info->size2, &info->free2); else -- cgit v1.2.3