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
This commit is contained in:
Daniel P. Berrange 2011-02-18 15:52:20 +00:00
parent 4f805dcdc4
commit d6d30cd4ae

View 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"));
}