From 4401b1ca3a7f0e1eb6ea8eb2893bf4fe4c06dbf9 Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 6 Nov 2022 14:18:36 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fbfe01e..c6ef7ec 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ int main(int argc, char** argv) do { entry = minitar_read_entry(mp); if(entry) { - printf("Found file %s\n", entry->metadata.name); + printf("%s\n", entry->metadata.name); minitar_free_entry(entry); } } while(entry); @@ -33,7 +33,7 @@ int main(int argc, char** argv) } ``` -This program will list out the files in a tar archive :) +The output of this example program when running it with an uncompressed tar archive is identical to that of `tar --list -f archive.tar` with the same uncompressed archive. ## Functions ### minitar_open