summaryrefslogtreecommitdiff
path: root/Userland/Utilities
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-03-13 01:40:04 +0200
committerAndreas Kling <kling@serenityos.org>2021-03-13 20:07:25 +0100
commit7eab20bad015b65d4e5e8d7c35363dbe73fa4456 (patch)
tree9f86017827891217ae4487abee8c5c64f9ab49a7 /Userland/Utilities
parent6c1322bdc7d6eb7648baed8a63768863e6536007 (diff)
downloadserenity-7eab20bad015b65d4e5e8d7c35363dbe73fa4456.zip
LibTar: Implement TarOutputStream
This output stream creates gnu format tar archives and currently only supports files and directories.
Diffstat (limited to 'Userland/Utilities')
-rw-r--r--Userland/Utilities/tar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/tar.cpp b/Userland/Utilities/tar.cpp
index 3e74e09042..09f56ab330 100644
--- a/Userland/Utilities/tar.cpp
+++ b/Userland/Utilities/tar.cpp
@@ -78,7 +78,7 @@ int main(int argc, char** argv)
InputStream& file_input_stream = file_stream;
InputStream& gzip_input_stream = gzip_stream;
- Tar::TarStream tar_stream((gzip) ? gzip_input_stream : file_input_stream);
+ Tar::TarInputStream tar_stream((gzip) ? gzip_input_stream : file_input_stream);
if (!tar_stream.valid()) {
warnln("the provided file is not a well-formatted ustar file");
return 1;