]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: fix misspelled words in -rc1
authorKarel Zak <kzak@redhat.com>
Mon, 30 Sep 2013 11:58:53 +0000 (13:58 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Sep 2013 11:58:53 +0000 (13:58 +0200)
Reported-by: Rafael Ferreira <rafael.f.f1@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
libfdisk/src/dos.c
libfdisk/src/gpt.c
libfdisk/src/sgi.c
term-utils/agetty.c

index d9b1e745b2e970366af87d06ef27ea40a8747615..fbadcca053d5d309778e33db04bbb9f75d7d02bd 100644 (file)
@@ -1251,7 +1251,7 @@ static int dos_add_partition(
                        rc = add_logical(cxt);
                } else
                        fdisk_info(cxt, _("If you want to create more than "
-                               "four partitions, you must replace a"
+                               "four partitions, you must replace a "
                                "primary partition with an extended "
                                "partition first."));
 
@@ -1585,7 +1585,7 @@ static int dos_list_disklabel(struct fdisk_context *cxt)
 
        if (is_garbage_table(cxt)) {
                fdisk_warnx(cxt, _(
-                       "This doesn't look like a partition table "
+                       "This doesn't look like a partition table. "
                        "Probably you selected the wrong device."));
        }
 
index d6817d4a3771fd1d70aca37fb8ee1f183e7825ae..7f34b18f7be5b0474b8b9d5f4d94575ba40a8476 100644 (file)
@@ -1479,7 +1479,7 @@ static int gpt_verify_disklabel(struct fdisk_context *cxt)
        }
        if (le64_to_cpu(gpt->pheader->alternative_lba) >= cxt->total_sectors) {
                nerror++;
-               fdisk_warnx(cxt, _("Disk is to small to hold all data."));
+               fdisk_warnx(cxt, _("Disk is too small to hold all data."));
        }
 
        /*
@@ -1529,7 +1529,9 @@ static int gpt_verify_disklabel(struct fdisk_context *cxt)
                         "(largest %ld)."),
                       free_sectors, nsegments, largest_segment);
        } else
-               fdisk_warnx(cxt, _("Detected %d error(s)."), nerror);
+               fdisk_warnx(cxt,
+                       P_("%d error detected.", "%s errors detected", nerror),
+                       nerror);
 
        return 0;
 }
index 23da06ad9cd492a4b2c9cfcdd2c25e39cfe1e320..d2e877832902367e62e088e3a42dd8c79485a159 100644 (file)
@@ -973,10 +973,10 @@ static int sgi_create_disklabel(struct fdisk_context *cxt)
                } else {
                        /* otherwise print error and use truncated version */
                        fdisk_warnx(cxt,
-                               _("Warning:  BLKGETSIZE ioctl failed on %s.  "
-                                 "Using geometry cylinder value of %llu."
-                                 "This value may be truncated for devices"
-                                 " > 33.8 GB."), cxt->dev_path, cxt->geom.cylinders);
+                               _("Warning:  BLKGETSIZE ioctl failed on %s. "
+                                 "Using geometry cylinder value of %llu. "
+                                 "This value may be truncated for devices "
+                                 "> 33.8 GB."), cxt->dev_path, cxt->geom.cylinders);
                }
        }
 #endif
index 3033558bd47a9ceb2637633f617d41e658373bcb..6ba263c2e8445e0dc50f478459927ac80fb49361 100644 (file)
@@ -667,7 +667,7 @@ static void parse_args(int argc, char **argv, struct options *op)
                                else if (strcmp(optarg, "=auto") == 0)
                                        op->clocal = CLOCAL_MODE_AUTO;
                                else
-                                       log_err(_("unssuported --local-line mode argument"));
+                                       log_err(_("unsupported --local-line mode argument"));
                        }
                        break;
                case 'm':