From 0df37c411ccf9f830f38f3f6405fac9320a70bac Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 7 Dec 2009 21:36:59 +0100 Subject: QError: new class for device encrypted errors Signed-off-by: Luiz Capitulino Signed-off-by: Markus Armbruster Signed-off-by: Anthony Liguori --- qerror.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'qerror.c') diff --git a/qerror.c b/qerror.c index eb4ce33312..d90529cd49 100644 --- a/qerror.c +++ b/qerror.c @@ -44,6 +44,10 @@ static const QErrorStringTable qerror_table[] = { .error_fmt = QERR_COMMAND_NOT_FOUND, .desc = "The command %(name) has not been found", }, + { + .error_fmt = QERR_DEVICE_ENCRYPTED, + .desc = "The %(device) is encrypted", + }, { .error_fmt = QERR_DEVICE_NOT_FOUND, .desc = "The %(device) device has not been found", -- cgit v1.2.3