]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
fdisk: improve some messages
authorFrancesco Cosoleto <cosoleto@gmail.com>
Thu, 15 Dec 2011 19:02:48 +0000 (20:02 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 16 Dec 2011 13:04:10 +0000 (14:04 +0100)
Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
fdisk/fdisk.c
fdisk/fdisksgilabel.c

index 800ed02752a6ed6834b6f5101dd08c0dde26d16b..c41da7a6e68fe5532e690a3acedafcd9c7787c07 100644 (file)
@@ -1193,7 +1193,7 @@ get_boot(enum action what) {
                        return -1;
 
                fprintf(stderr,
-                       _("Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel\n"));
+                       _("Device does not contain a recognized partition table\n"));
 #ifdef __sparc__
                create_sunlabel();
 #else
index b432b1344c04c4d4e91e522d3ea40c3da1dcc710..dd3efd0519dc6ef589d17008db60b64e2e4730cc 100644 (file)
@@ -452,7 +452,7 @@ verify_sgi(int verbose)
                lastblock = sgi_get_num_sectors(Index[0]);
        } else {
                if (verbose)
-                       printf(_("One Partition (#11) should cover the entire disk.\n"));
+                       printf(_("Partition 11 should cover the entire disk.\n"));
                if (debug>2)
                        printf("sysid=%d\tpartition=%d\n",
                               sgi_get_sysid(Index[0]), Index[0]+1);
@@ -570,7 +570,7 @@ sgi_set_partition(int i, unsigned int start, unsigned int length, int sys) {
        sgilabel->partitions[i].start_sector = SSWAP32(start);
        set_changed(i);
        if (sgi_gaps() < 0)     /* rebuild freelist */
-               printf(_("Do You know, You got a partition overlap on the disk?\n"));
+               printf(_("Partition overlap on the disk.\n"));
        if (length)
                print_partition_size(i + 1, start, start + length, sys);
 }