summaryrefslogtreecommitdiff
path: root/qerror.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-19 19:52:45 +0100
committerMarkus Armbruster <armbru@redhat.com>2010-03-16 17:45:34 +0100
commit56e9f56309b7c77dfb328dbf450d04fd54ce4542 (patch)
tree69b5d05420032bf39e2ee9dde4bb04d51111dc48 /qerror.c
parentaa924ae7306f18f258c48f070c0d06215f157d0f (diff)
error: New QERR_BAD_BUS_FOR_DEVICE
Diffstat (limited to 'qerror.c')
-rw-r--r--qerror.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/qerror.c b/qerror.c
index b176d7c5ac..345bfefe47 100644
--- a/qerror.c
+++ b/qerror.c
@@ -41,6 +41,10 @@ static const QType qerror_type = {
*/
static const QErrorStringTable qerror_table[] = {
{
+ .error_fmt = QERR_BAD_BUS_FOR_DEVICE,
+ .desc = "Device '%(device)' can't go on a %(bad_bus_type) bus",
+ },
+ {
.error_fmt = QERR_BUS_NOT_FOUND,
.desc = "Bus '%(bus)' not found",
},