Revision 07574baf
b/qerror.c | ||
---|---|---|
73 | 73 |
.desc = "Device '%(device)' is not removable", |
74 | 74 |
}, |
75 | 75 |
{ |
76 |
.error_fmt = QERR_DEVICE_NO_BUS, |
|
77 |
.desc = "Device '%(device)' has no child bus", |
|
78 |
}, |
|
79 |
{ |
|
76 | 80 |
.error_fmt = QERR_FD_NOT_FOUND, |
77 | 81 |
.desc = "File descriptor named '%(name)' not found", |
78 | 82 |
}, |
b/qerror.h | ||
---|---|---|
66 | 66 |
#define QERR_DEVICE_NOT_REMOVABLE \ |
67 | 67 |
"{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }" |
68 | 68 |
|
69 |
#define QERR_DEVICE_NO_BUS \ |
|
70 |
"{ 'class': 'DeviceNoBus', 'data': { 'device': %s } }" |
|
71 |
|
|
69 | 72 |
#define QERR_FD_NOT_FOUND \ |
70 | 73 |
"{ 'class': 'FdNotFound', 'data': { 'name': %s } }" |
71 | 74 |
|
Also available in: Unified diff