From: Richard Laager Date: Tue, 15 Mar 2016 06:17:32 +0000 (-0500) Subject: sheepdog: Use a consistent error message X-Git-Tag: v1.3.3-rc1~121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed0221d6b3fc2a6058c801dc0b89700184889f41;p=thirdparty%2Flibvirt.git sheepdog: Use a consistent error message This also reduces the number of strings to translate. --- diff --git a/src/storage/storage_backend_sheepdog.c b/src/storage/storage_backend_sheepdog.c index a3bd78a2d1..001d16f607 100644 --- a/src/storage/storage_backend_sheepdog.c +++ b/src/storage/storage_backend_sheepdog.c @@ -237,8 +237,9 @@ virStorageBackendSheepdogCreateVol(virConnectPtr conn ATTRIBUTE_UNUSED, virStorageVolDefPtr vol) { if (vol->target.encryption != NULL) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s", - _("Sheepdog does not support encrypted volumes")); + virReportError(VIR_ERR_CONFIG_UNSUPPORTED, + "%s", _("storage pool does not support encrypted " + "volumes")); return -1; }