Revision 9d494c4b qerror.c

b/qerror.c
38 38
 * for example:
39 39
 *
40 40
 * "running out of foo: %(foo)%%"
41
 *
42
 * Please keep the entries in alphabetical order.
43
 * Use "sed -n '/^static.*qerror_table\[\]/,/^};/s/QERR_/&/gp' qerror.c | sort -c"
44
 * to check.
41 45
 */
42 46
static const QErrorStringTable qerror_table[] = {
43 47
    {
......
65 69
        .desc      = "Device '%(device)' could not be initialized",
66 70
    },
67 71
    {
68
        .error_fmt = QERR_DEVICE_NOT_ENCRYPTED,
69
        .desc      = "Device '%(device)' is not encrypted",
70
    },
71
    {
72 72
        .error_fmt = QERR_DEVICE_LOCKED,
73 73
        .desc      = "Device '%(device)' is locked",
74 74
    },
......
81 81
        .desc      = "Device '%(device)' has not been activated by the guest",
82 82
    },
83 83
    {
84
        .error_fmt = QERR_DEVICE_NOT_ENCRYPTED,
85
        .desc      = "Device '%(device)' is not encrypted",
86
    },
87
    {
84 88
        .error_fmt = QERR_DEVICE_NOT_FOUND,
85 89
        .desc      = "Device '%(device)' not found",
86 90
    },

Also available in: Unified diff