1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 20:57:35 +00:00

Everywhere: Fix many spelling errors

This commit is contained in:
mjz19910 2022-01-06 07:07:15 -07:00 committed by Linus Groh
parent 6bf91d00ef
commit 3102d8e160
39 changed files with 73 additions and 73 deletions

View file

@ -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())

View file

@ -19,7 +19,7 @@ public:
enum class Error {
Invalid,
MBRProtective,
ConatinsEBR,
ContainsEBR,
};
public:

View file

@ -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 {};