diff --git a/README.md b/README.md index 8519b60..aa653c2 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ # Extractor of SpreadTrum firmware files with extension pac -Extract all data that I may recognize in package. \ No newline at end of file +Tested Successfully on Linux : Ubuntu 24.04 LTS + +Extract all data that I may recognize in package. diff --git a/pacextractor.c b/pacextractor.c index 6992ed7..e9954a8 100644 --- a/pacextractor.c +++ b/pacextractor.c @@ -131,7 +131,7 @@ int main(int argc, char** argv) { printf("Partition image extraction error"); exit(EXIT_FAILURE); } - printf("\r\t%02d%%", (uint64_t)100 - (uint64_t)100*dataSizeLeft/partHeaders[i]->partitionSize); + printf("\r\t%02ld%%", (uint64_t)100 - (uint64_t)100*dataSizeLeft/partHeaders[i]->partitionSize); } printf("\n"); close(fd_new); diff --git a/test_hai.md b/test_hai.md new file mode 100644 index 0000000..db08cc2 --- /dev/null +++ b/test_hai.md @@ -0,0 +1 @@ +test hai.!