]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Fix trivial typos
authorYuri Chornoivan <yurchor@ukr.net>
Tue, 25 Aug 2015 17:02:53 +0000 (20:02 +0300)
committerYuri Chornoivan <yurchor@ukr.net>
Tue, 25 Aug 2015 17:02:53 +0000 (20:02 +0300)
disk-utils/fdisk.c
libfdisk/src/dos.c
libfdisk/src/table.c
sys-utils/zramctl.c

index 6b20685ba00c2da8a535dd40884e7a0d479dfd54..c924d26b6a91ffbb5d3176abc75b639990237221 100644 (file)
@@ -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,
index 4fc68f548c0e3d2aba618ec178ca577377cdc8ec..90e5af09ab55ee1a712d4a3d823ab7ccea9b6638 100644 (file)
@@ -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;
                }
index f6e71bb7b71a55ec9668274a70137ab6115fc7ed..9921733d474bf9cdd1fc46b0eee52171fc943df1 100644 (file)
@@ -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.
  *
index 99598236efcf0ba98ccff76a0d93d2e3aa5db1b0..30134338fcfd2a5d7c596b9371e2ede5fa2a725a 100644 (file)
@@ -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") },
 };