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:
parent
6bf91d00ef
commit
3102d8e160
39 changed files with 73 additions and 73 deletions
|
@ -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())
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
enum class Error {
|
||||
Invalid,
|
||||
MBRProtective,
|
||||
ConatinsEBR,
|
||||
ContainsEBR,
|
||||
};
|
||||
|
||||
public:
|
||||
|
|
|
@ -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 {};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue