[PATCH] dvh.c (dvh_partition_set_name): Include partition name in diagnostic.
Jim Meyering
meyering at redhat.com
Sat Feb 2 16:00:42 UTC 2008
Signed-off-by: Jim Meyering <meyering at redhat.com>
---
libparted/labels/dvh.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libparted/labels/dvh.c b/libparted/labels/dvh.c
index 9497ad5..3e377ef 100644
--- a/libparted/labels/dvh.c
+++ b/libparted/labels/dvh.c
@@ -1,6 +1,6 @@
/*
libparted - a library for manipulating disk partitions
- Copyright (C) 2001, 2002, 2005, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2005, 2007-2008 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -717,7 +717,9 @@ dvh_partition_set_name (PedPartition* part, const char* name)
ped_exception_throw (
PED_EXCEPTION_ERROR,
PED_EXCEPTION_CANCEL,
- _("Only logical partitions (boot files) have a name."));
+ _("failed to set dvh partition name to %s:\n"
+ "Only logical partitions (boot files) have a name."),
+ name);
#endif
}
}
--
1.5.4.3.g6752
More information about the parted-devel
mailing list