summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2023-05-25 12:09:20 -0400
committerSolomon Peachy <pizza@shaftnet.org>2023-05-25 12:13:37 -0400
commit220fb04250905b681eca412ab325fc2957ee0c8b (patch)
treefc5c30a61a694e50608c5d1bfb26ddb7d85812b1
parentf2a5b78b51fe77e90c388b77fd84d00ff0bfc054 (diff)
downloadrockbox-220fb04250.tar.gz
rockbox-220fb04250.zip
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
-rw-r--r--firmware/target/hosted/filesystem-app.c2
1 files changed, 1 insertions, 1 deletions
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