Patchwork [05/11] qerror: QERR_DEVICE_ENCRYPTED: add filename info to human msg

login
register
mail settings
Submitter Luiz Capitulino
Date July 25, 2012, 4:54 p.m.
Message ID <1343235256-26310-6-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/173217/
State New
Headers show

Comments

Luiz Capitulino - July 25, 2012, 4:54 p.m.
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 e09c410..3d8ba2a 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 '%(device)' is encrypted (filename=%(filename))",
     },
     {
         .error_fmt = QERR_DEVICE_FEATURE_BLOCKS_MIGRATION,