summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--disk-utils/fdisk.c2
-rw-r--r--libfdisk/src/dos.c2
-rw-r--r--libfdisk/src/table.c2
-rw-r--r--sys-utils/zramctl.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/disk-utils/fdisk.c b/disk-utils/fdisk.c
index 6b20685ba..c924d26b6 100644
--- a/disk-utils/fdisk.c
+++ b/disk-utils/fdisk.c
@@ -723,7 +723,7 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
fputs(USAGE_OPTIONS, out);
fputs(_(" -b, --sector-size <size> physical and logical sector size\n"), out);
- fputs(_(" -B, --protect-boot don't erase bootbits when creat a new label\n"), out);
+ fputs(_(" -B, --protect-boot don't erase bootbits when create a new label\n"), out);
fputs(_(" -c, --compatibility[=<mode>] mode is 'dos' or 'nondos' (default)\n"), out);
fputs(_(" -L, --color[=<when>] colorize output (auto, always or never)\n"), out);
fprintf(out,
diff --git a/libfdisk/src/dos.c b/libfdisk/src/dos.c
index 4fc68f548..90e5af09a 100644
--- a/libfdisk/src/dos.c
+++ b/libfdisk/src/dos.c
@@ -1961,7 +1961,7 @@ static int dos_set_partition(struct fdisk_context *cxt, size_t n,
if (IS_EXTENDED(p->sys_ind) && !IS_EXTENDED(pa->type->code) && has_logical(cxt)) {
fdisk_warnx(cxt, _(
"Cannot change type of the extended partition which is "
- "already used by logical partitons. Delete logical "
+ "already used by logical partitions. Delete logical "
"partitions first."));
return -EINVAL;
}
diff --git a/libfdisk/src/table.c b/libfdisk/src/table.c
index f6e71bb7b..9921733d4 100644
--- a/libfdisk/src/table.c
+++ b/libfdisk/src/table.c
@@ -660,7 +660,7 @@ int fdisk_table_wrong_order(struct fdisk_table *tb)
* @tb: table
*
* Add partitions from table @tb to the in-memory disk label. See
- * fdisk_add_partition(), fdisk_delete_all_partitions(). The partitons
+ * fdisk_add_partition(), fdisk_delete_all_partitions(). The partitions
* that does not define start (or does not follow the default start)
* are ingored.
*
diff --git a/sys-utils/zramctl.c b/sys-utils/zramctl.c
index 99598236e..30134338f 100644
--- a/sys-utils/zramctl.c
+++ b/sys-utils/zramctl.c
@@ -78,7 +78,7 @@ static const struct colinfo infos[] = {
[COL_MEMTOTAL] = { "TOTAL", 5, SCOLS_FL_RIGHT, N_("all memory including allocator fragmentation and metadata overhead") },
[COL_MEMLIMIT] = { "MEM-LIMIT", 5, SCOLS_FL_RIGHT, N_("memory limit used to store compressed data") },
[COL_MEMUSED] = { "MEM-USED", 5, SCOLS_FL_RIGHT, N_("memory zram have consumed to store compressed data") },
- [COL_MIGRATED] = { "MIGRATED", 5, SCOLS_FL_RIGHT, N_("number of objects migrated migrated by compaction") },
+ [COL_MIGRATED] = { "MIGRATED", 5, SCOLS_FL_RIGHT, N_("number of objects migrated by compaction") },
[COL_MOUNTPOINT]= { "MOUNTPOINT",0.10, SCOLS_FL_TRUNC, N_("where the device is mounted") },
};