Patchwork [03/35] qerror: QERR_DEVICE_ENCRYPTED: change error message

login
register
mail settings
Submitter Luiz Capitulino
Date Aug. 10, 2012, 5:43 p.m.
Message ID <1344620653-29067-4-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/176567/
State New
Headers show

Comments

Luiz Capitulino - Aug. 10, 2012, 5:43 p.m.
Match what HMP commands print on DeviceEncrypted errors.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
---
 qerror.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/qerror.c b/qerror.c
index 082de98..de0a79e 100644
--- a/qerror.c
+++ b/qerror.c
@@ -81,7 +81,7 @@  static const QErrorStringTable qerror_table[] = {
     },
     {
         .error_fmt = QERR_DEVICE_ENCRYPTED,
-        .desc      = "Device '%(device)' is encrypted",
+        .desc      = "'%(device)' (%(filename)) is encrypted",
     },
     {
         .error_fmt = QERR_DEVICE_FEATURE_BLOCKS_MIGRATION,