aboutsummaryrefslogtreecommitdiff
path: root/qerror.h
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2009-12-08 13:33:54 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:39 -0600
commitbd9d30640c3c2489175fd9ddd5459c69f94688f8 (patch)
tree39f95ea4d923156c1793b1a0d10f3e30da63a19f /qerror.h
parent556cd09885bec3f69ba78228fe4e46dc1dad145b (diff)
Fix recently added QERR_ definitions
Commits c7c338c4, 41471a23, 7a046f5f and a488be27 used lower_case_with_underscores for class values. Existing usage CamelCase. ChangeToThatForConsistency. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'qerror.h')
-rw-r--r--qerror.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/qerror.h b/qerror.h
index 09e32b9a39..9e220d6b45 100644
--- a/qerror.h
+++ b/qerror.h
@@ -59,16 +59,16 @@ QError *qobject_to_qerror(const QObject *obj);
"{ 'class': 'DeviceNotRemovable', 'data': { 'device': %s } }"
#define QERR_FD_NOT_FOUND \
- "{ 'class': 'fd_not_found', 'data': { 'name': %s } }"
+ "{ 'class': 'FdNotFound', 'data': { 'name': %s } }"
#define QERR_FD_NOT_SUPPLIED \
- "{ 'class': 'fd_not_supplied', 'data': {} }"
+ "{ 'class': 'FdNotSupplied', 'data': {} }"
#define QERR_INVALID_BLOCK_FORMAT \
"{ 'class': 'InvalidBlockFormat', 'data': { 'name': %s } }"
#define QERR_INVALID_PARAMETER \
- "{ 'class': 'invalid_parameter', 'data': { 'name': %s } }"
+ "{ 'class': 'InvalidParameter', 'data': { 'name': %s } }"
#define QERR_INVALID_PARAMETER_TYPE \
"{ 'class': 'InvalidParameterType', 'data': { 'name': %s,'expected': %s } }"
@@ -95,7 +95,7 @@ QError *qobject_to_qerror(const QObject *obj);
"{ 'class': 'UndefinedError', 'data': {} }"
#define QERR_TOO_MANY_FILES \
- "{ 'class': 'fd_too_many_files', 'data': {} }"
+ "{ 'class': 'TooManyFiles', 'data': {} }"
#define QERR_VNC_SERVER_FAILED \
"{ 'class': 'VNCServerFailed', 'data': { 'target': %s } }"