diff options
Diffstat (limited to 'Userland/Utilities/unzip.cpp')
-rw-r--r-- | Userland/Utilities/unzip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Utilities/unzip.cpp b/Userland/Utilities/unzip.cpp index 6830fa1141..d2d6744a18 100644 --- a/Userland/Utilities/unzip.cpp +++ b/Userland/Utilities/unzip.cpp @@ -24,7 +24,7 @@ static bool unpack_zip_member(Archive::ZipMember zip_member) return true; } auto new_file = Core::File::construct(zip_member.name); - if (!new_file->open(Core::IODevice::WriteOnly)) { + if (!new_file->open(Core::OpenMode::WriteOnly)) { warnln("Can't write file {}: {}", zip_member.name, new_file->error_string()); return false; } |