From: Francesco Cosoleto Date: Thu, 15 Dec 2011 19:02:48 +0000 (+0100) Subject: fdisk: improve some messages X-Git-Tag: v2.21-rc1~114 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dae488050872e2ea90d461d19d6446477ea1d421;p=thirdparty%2Futil-linux.git fdisk: improve some messages Signed-off-by: Francesco Cosoleto --- diff --git a/fdisk/fdisk.c b/fdisk/fdisk.c index 800ed02752..c41da7a6e6 100644 --- a/fdisk/fdisk.c +++ b/fdisk/fdisk.c @@ -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 diff --git a/fdisk/fdisksgilabel.c b/fdisk/fdisksgilabel.c index b432b1344c..dd3efd0519 100644 --- a/fdisk/fdisksgilabel.c +++ b/fdisk/fdisksgilabel.c @@ -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); }