From d6d30cd4aedd3a65d7e4518ca253d1ba0f67a7a8 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 18 Feb 2011 15:52:20 +0000 Subject: [PATCH] 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 --- src/util/virterror.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")); }