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

Submitted by Luiz Capitulino on July 25, 2012, 4:54 p.m.

Details

Message ID 1343235256-26310-6-git-send-email-lcapitulino@redhat.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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,