[08/23] QError: Enhance QERR_DEVICE_NOT_ACTIVE's user desc

Submitted by Luiz Capitulino on July 1, 2010, 7:21 p.m.

Details

Message ID 1278012111-26227-9-git-send-email-lcapitulino@redhat.com
State New
Headers show

Commit Message

Luiz Capitulino July 1, 2010, 7:21 p.m.
The 'by the guest' part is misleading, it could be disabled by
the host too.

We will likely need more surgery if we care for the distinction,
just dropping the problematic part is good enough for now.

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

Patch hide | download patch | download mbox

diff --git a/qerror.c b/qerror.c
index 44d0bf8..cce1e7b 100644
--- a/qerror.c
+++ b/qerror.c
@@ -82,7 +82,7 @@  static const QErrorStringTable qerror_table[] = {
     },
     {
         .error_fmt = QERR_DEVICE_NOT_ACTIVE,
-        .desc      = "Device '%(device)' has not been activated by the guest",
+        .desc      = "Device '%(device)' has not been activated",
     },
     {
         .error_fmt = QERR_DEVICE_NOT_ENCRYPTED,