On 03/02/2011 10:18 AM, Daniel P. Berrange wrote:
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/util/virterror.c b/src/util/virterror.c
index f1b79c8..aaa3720 100644
--- a/src/util/virterror.c
+++ b/src/util/virterror.c
@@ -248,7 +248,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"));
ACK.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org