From 2f10e2e85efeea2ee35c0940a191552d78a56a16 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 4 Sep 2023 02:01:06 +0300 Subject: [PATCH] Fix an error in Stat copy constructor --- source/fs/stat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/fs/stat.cpp b/source/fs/stat.cpp index e296ead..7f1f9e6 100644 --- a/source/fs/stat.cpp +++ b/source/fs/stat.cpp @@ -10,7 +10,7 @@ namespace FS { Stat::Stat(const Stat &other): exists(other.exists), type(other.type), - size(other.type), + size(other.size), alloc_size(other.alloc_size), mtime(other.mtime), owner_info(other.owner_info), -- 2.45.2