Skip to content
This repository has been archived by the owner on May 12, 2024. It is now read-only.

Commit

Permalink
Update tar.c
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinAlavik authored Feb 26, 2024
1 parent ecb75b9 commit 81e5588
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/filesystem/tar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 81e5588

Please sign in to comment.