Fix a tiny typo
This commit is contained in:
Lucas Pinto 2021-07-28 01:35:26 +01:00 committed by GitHub
parent 3a40764194
commit 64e6b7b456
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -531,7 +531,7 @@ class Filesystem:
previous_partitions = self.blockdevice.partitions
if self.mode == MBR:
if len(self.blockdevice.partitions) > 3:
DiskError("Too many partitions on disk, MBR disks can only have 3 parimary partitions")
DiskError("Too many partitions on disk, MBR disks can only have 3 primary partitions")
if partition_format:
partitioning = self.parted(f'{self.blockdevice.device} mkpart {partition_type} {partition_format} {start} {end}') == 0
else: