From: Daniel P. Berrange Date: Fri, 18 Feb 2011 15:52:20 +0000 (+0000) Subject: Attempt to improve an error message X-Git-Tag: CVE-2011-1146~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d6d30cd4aedd3a65d7e4518ca253d1ba0f67a7a8;p=thirdparty%2Flibvirt.git Attempt to improve an error message Replace the 'Unknown failure' error message with something a little bit more descriptive. * src/util/virterror.c: Improve error message --- diff --git a/src/util/virterror.c b/src/util/virterror.c index e45b5825be..89bb2a5aca 100644 --- a/src/util/virterror.c +++ b/src/util/virterror.c @@ -245,7 +245,7 @@ virErrorGenericFailure(virErrorPtr err) err->code = VIR_ERR_INTERNAL_ERROR; err->domain = VIR_FROM_NONE; err->level = VIR_ERR_ERROR; - err->message = strdup(_("Unknown failure")); + err->message = strdup(_("An error occurred, but the cause is unknown")); }