From: Eric Blake Date: Mon, 25 Feb 2019 16:37:58 +0000 (-0600) Subject: snapshot: Improve message for VIR_ERR_INVALID_DOMAIN_SNAPSHOT X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=33a07b8e4154b25f7119c0d2177983a5a1f1cae0;p=libvirt.git snapshot: Improve message for VIR_ERR_INVALID_DOMAIN_SNAPSHOT For consistency with other error messages, and the fact that the object is always called a virDomainSnapshot rather than a mere virSnapshot, include the word "domain" in the error message. Suggested-by: John Ferlan Signed-off-by: Eric Blake Reviewed-by: Daniel P. Berrangé --- diff --git a/src/util/virerror.c b/src/util/virerror.c index 63de0cb278..91a513160f 100644 --- a/src/util/virerror.c +++ b/src/util/virerror.c @@ -1122,8 +1122,8 @@ const virErrorMsgTuple virErrorMsgStrings[VIR_ERR_NUMBER_LAST] = { N_("Hook script execution failed"), N_("Hook script execution failed: %s") }, [VIR_ERR_INVALID_DOMAIN_SNAPSHOT] = { - N_("Invalid snapshot"), - N_("Invalid snapshot: %s") }, + N_("Invalid domain snapshot"), + N_("Invalid domain snapshot: %s") }, [VIR_ERR_NO_DOMAIN_SNAPSHOT] = { N_("Domain snapshot not found"), N_("Domain snapshot not found: %s") },