FYI, >From abe24caad4e2b13c52479f97919ec72e40ab28d0 Mon Sep 17 00:00:00 2001 From: Jim Meyering <meyer...@redhat.com> Date: Thu, 30 Dec 2010 10:01:17 +0100 Subject: [PATCH] maint: don't hard-code bug-reporting address
* libparted/exception.c (default_handler): Use PACKAGE_BUGREPORT rather than hard-coding bug-par...@... * libparted/labels/gpt.c (_parse_header) [DISCOVER_ONLY]: Don't mention the bug-reporting address explicitly, since ped_exception_throw is about to do just that. --- libparted/exception.c | 4 ++-- libparted/labels/gpt.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libparted/exception.c b/libparted/exception.c index 4a310ba..5dffe7e 100644 --- a/libparted/exception.c +++ b/libparted/exception.c @@ -135,9 +135,9 @@ default_handler (PedException* e) "for more information of what could be useful " "for bug submitting! " "Please email a bug report to " - "bug-parted@gnu.org containing at least the " + "%s containing at least the " "version (%s) and the following message: "), - VERSION); + PACKAGE_BUGREPORT, VERSION); else fprintf (stderr, "%s: ", ped_exception_get_type_string (e->type)); diff --git a/libparted/labels/gpt.c b/libparted/labels/gpt.c index 4aedd6d..b9ed5c3 100644 --- a/libparted/labels/gpt.c +++ b/libparted/labels/gpt.c @@ -679,7 +679,7 @@ _parse_header (PedDisk *disk, const GuidPartitionTableHeader_t *gpt, PED_EXCEPTION_IGNORE_CANCEL, _("The format of the GPT partition table is version " "%x, which is newer than what Parted can " - "recognise. Please tell us! bug-parted@gnu.org"), + "recognise. Please report this!"), PED_LE32_TO_CPU (gpt->Revision)) != PED_EXCEPTION_IGNORE) return 0; } -- 1.7.3.4 _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted