diff --git a/src/filesystem/tar.c b/src/filesystem/tar.c index 3ca99e2..3b68a88 100644 --- a/src/filesystem/tar.c +++ b/src/filesystem/tar.c @@ -47,7 +47,7 @@ void extractTarData(const char *rawData, unsigned int dataSize, struct File file; file.size = getsize(header->size); - file.name = removePrefix(header->filename, "ramdisk"); + file.name = removePrefix(header->filename, RAMDISK_PATH_PREFIX); file.isDirectory = header->typeflag[0] == '5'; if (!file.isDirectory) {