]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
Attempt to improve an error message
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Feb 2011 15:52:20 +0000 (15:52 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 3 Mar 2011 14:17:12 +0000 (14:17 +0000)
Replace the 'Unknown failure' error message with something a
little bit more descriptive.

* src/util/virterror.c: Improve error message

src/util/virterror.c

index e45b5825be0d417ac297db79f42bb1f6dd81f7c5..89bb2a5acaa3cee6ba74a4efea165299a663c36b 100644 (file)
@@ -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"));
 }