forked from len0rd/rockbox
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
This commit is contained in:
parent
f2a5b78b51
commit
220fb04250
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
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];
|
char volname[VOL_MAX_LEN + 1];
|
||||||
get_volume_name(volume, volname);
|
get_volume_name(volume, volname);
|
||||||
#else
|
#else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue