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

login
register
mail settings
Submitter Luiz Capitulino
Date July 1, 2010, 7:21 p.m.
Message ID <1278012111-26227-9-git-send-email-lcapitulino@redhat.com>
Download mbox | patch
Permalink /patch/57574/
State New
Headers show

Comments

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

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,