diff options
author | mjz19910 <matthias291999@gmail.com> | 2022-01-06 07:07:15 -0700 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-01-07 10:56:59 +0100 |
commit | 3102d8e160bd61181dce395b425aea99e8381632 (patch) | |
tree | a71464b934ddd5a302c292bac45767e18a9bc217 /Kernel/FileSystem | |
parent | 6bf91d00eff87b8904239db5126165485741d731 (diff) | |
download | serenity-3102d8e160bd61181dce395b425aea99e8381632.zip |
Everywhere: Fix many spelling errors
Diffstat (limited to 'Kernel/FileSystem')
-rw-r--r-- | Kernel/FileSystem/Plan9FileSystem.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/FileSystem/Plan9FileSystem.cpp b/Kernel/FileSystem/Plan9FileSystem.cpp index efe6ac0dc5..5f447198b7 100644 --- a/Kernel/FileSystem/Plan9FileSystem.cpp +++ b/Kernel/FileSystem/Plan9FileSystem.cpp @@ -730,16 +730,16 @@ ErrorOr<size_t> Plan9FSInode::read_bytes(off_t offset, size_t size, UserOrKernel StringView data; // Try readlink first. - bool readlink_succeded = false; + bool readlink_succeeded = false; if (fs().m_remote_protocol_version >= Plan9FS::ProtocolVersion::v9P2000L && offset == 0) { message << fid(); if (auto result = fs().post_message_and_wait_for_a_reply(message); !result.is_error()) { - readlink_succeded = true; + readlink_succeeded = true; message >> data; } } - if (!readlink_succeded) { + if (!readlink_succeeded) { message = Plan9FS::Message { fs(), Plan9FS::Message::Type::Tread }; message << fid() << (u64)offset << (u32)size; TRY(fs().post_message_and_wait_for_a_reply(message)); |