[Parted-commits] GNU Parted Official Repository: Changes to 'master'

Jim Meyering meyering at alioth.debian.org
Thu May 31 14:15:24 UTC 2007


 libparted/disk.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fc62de44440fb9bca3936920a347e2a4880eccad
Author: Jim Meyering <jim at meyering.net>
Date:   Thu May 31 10:31:11 2007 +0200

    Correct a misleading diagnostic.
    
    * libparted/disk.c (ped_disk_new): Remove always-false "Unable to open"
    part of diagnostic.  Leave the "unrecognized disk label" part.

diff --git a/libparted/disk.c b/libparted/disk.c
index d23fe15..547d037 100644
--- a/libparted/disk.c
+++ b/libparted/disk.c
@@ -199,7 +199,7 @@ ped_disk_new (PedDevice* dev)
 	type = ped_disk_probe (dev);
 	if (!type) {
 		ped_exception_throw (PED_EXCEPTION_ERROR, PED_EXCEPTION_CANCEL,
-			_("Unable to open %s - unrecognised disk label."),
+			_("%s: unrecognised disk label"),
 			dev->path);
 		goto error_close_dev;
 	}



More information about the Parted-commits mailing list