Virtual ISO: Use the actual basename function and remove the legacy one

This commit is contained in:
RichardG867
2022-07-09 13:43:13 -03:00
parent 9bdec4a1d9
commit bcd12099c7
4 changed files with 1 additions and 37 deletions

View File

@@ -902,7 +902,7 @@ next_dir:
tz_offset = (now - mktime(gmtime(&now))) / (3600 / 4);
/* Get root directory basename for the volume ID. */
char *basename = plat_get_basename(dirname);
char *basename = path_get_filename(viso->root_dir->path);
if (!basename || (basename[0] == '\0'))
basename = EMU_NAME;