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/Storage | |
parent | 6bf91d00eff87b8904239db5126165485741d731 (diff) | |
download | serenity-3102d8e160bd61181dce395b425aea99e8381632.zip |
Everywhere: Fix many spelling errors
Diffstat (limited to 'Kernel/Storage')
-rw-r--r-- | Kernel/Storage/Partition/MBRPartitionTable.cpp | 2 | ||||
-rw-r--r-- | Kernel/Storage/Partition/PartitionTable.h | 2 | ||||
-rw-r--r-- | Kernel/Storage/StorageManagement.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/Kernel/Storage/Partition/MBRPartitionTable.cpp b/Kernel/Storage/Partition/MBRPartitionTable.cpp index cd773f3c05..3148b644bc 100644 --- a/Kernel/Storage/Partition/MBRPartitionTable.cpp +++ b/Kernel/Storage/Partition/MBRPartitionTable.cpp @@ -19,7 +19,7 @@ Result<NonnullOwnPtr<MBRPartitionTable>, PartitionTable::Error> MBRPartitionTabl { auto table = make<MBRPartitionTable>(device); if (table->contains_ebr()) - return { PartitionTable::Error::ConatinsEBR }; + return { PartitionTable::Error::ContainsEBR }; if (table->is_protective_mbr()) return { PartitionTable::Error::MBRProtective }; if (!table->is_valid()) diff --git a/Kernel/Storage/Partition/PartitionTable.h b/Kernel/Storage/Partition/PartitionTable.h index 575a61a5da..89935e3c69 100644 --- a/Kernel/Storage/Partition/PartitionTable.h +++ b/Kernel/Storage/Partition/PartitionTable.h @@ -19,7 +19,7 @@ public: enum class Error { Invalid, MBRProtective, - ConatinsEBR, + ContainsEBR, }; public: diff --git a/Kernel/Storage/StorageManagement.cpp b/Kernel/Storage/StorageManagement.cpp index 577a949b08..3653639056 100644 --- a/Kernel/Storage/StorageManagement.cpp +++ b/Kernel/Storage/StorageManagement.cpp @@ -101,7 +101,7 @@ UNMAP_AFTER_INIT OwnPtr<PartitionTable> StorageManagement::try_to_initialize_par return {}; return move(gpt_table_or_result.value()); } - if (mbr_table_or_result.error() == PartitionTable::Error::ConatinsEBR) { + if (mbr_table_or_result.error() == PartitionTable::Error::ContainsEBR) { auto ebr_table_or_result = EBRPartitionTable::try_to_initialize(device); if (ebr_table_or_result.is_error()) return {}; |