diff --git a/Kernel/FileSystem/Plan9FS/FileSystem.cpp b/Kernel/FileSystem/Plan9FS/FileSystem.cpp index 0bed1411fe..19d905698d 100644 --- a/Kernel/FileSystem/Plan9FS/FileSystem.cpp +++ b/Kernel/FileSystem/Plan9FS/FileSystem.cpp @@ -334,7 +334,7 @@ void Plan9FS::thread_main() MutexLocker locker(m_lock); for (auto& it : m_completions) { - it.value->result = result; + it.value->result = Error::copy(result.error()); it.value->completed = true; } m_completions.clear();