From 220fb04250905b681eca412ab325fc2957ee0c8b Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Thu, 25 May 2023 12:09:20 -0400 Subject: [PATCH] hosted: Fix the disk storage display in the rockbox info page This was introduced by adding multivolume support to the hibyplayer units, and might affect other things, if so a more general fix might be needed. Change-Id: Ia9c1b6b1eb50e67221ce440d30d6770daaeac74e --- firmware/target/hosted/filesystem-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/target/hosted/filesystem-app.c b/firmware/target/hosted/filesystem-app.c index 2121af7752..f0b3a662b2 100644 --- a/firmware/target/hosted/filesystem-app.c +++ b/firmware/target/hosted/filesystem-app.c @@ -580,7 +580,7 @@ ssize_t app_readlink(const char *path, char *buf, size_t bufsiz) int os_volume_path(IF_MV(int volume, ) char *buffer, size_t bufsize) { -#ifdef HAVE_MULTIVOLUME +#if defined(HAVE_MULTIVOLUME) && !(CONFIG_PLATFORM & PLATFORM_HOSTED) char volname[VOL_MAX_LEN + 1]; get_volume_name(volume, volname); #else