From 81e55889f701e952c5420bae5dd8a8827d4dfb20 Mon Sep 17 00:00:00 2001 From: puffer Date: Mon, 26 Feb 2024 12:52:23 +0100 Subject: [PATCH] Update tar.c --- src/filesystem/tar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {