aboutsummaryrefslogtreecommitdiff
path: root/qga/commands.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2014-05-02 13:26:30 +0200
committerLuiz Capitulino <lcapitulino@redhat.com>2014-05-09 09:11:26 -0400
commit77dbc81b0ffe5f2ce403984fc179f3ed44ac7459 (patch)
tree4d52d30da8d234eb33c2eb5b8be54cc331c74d64 /qga/commands.c
parente940f543ae7606819c9083fdb524e5b85914f032 (diff)
qga: Consistently name Error ** objects errp, and not err
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qga/commands.c')
-rw-r--r--qga/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/qga/commands.c b/qga/commands.c
index a0c2de07ec..783496791e 100644
--- a/qga/commands.c
+++ b/qga/commands.c
@@ -40,7 +40,7 @@ int64_t qmp_guest_sync(int64_t id, Error **errp)
return id;
}
-void qmp_guest_ping(Error **err)
+void qmp_guest_ping(Error **errp)
{
slog("guest-ping called");
}
@@ -62,7 +62,7 @@ static void qmp_command_info(QmpCommand *cmd, void *opaque)
info->supported_commands = cmd_info_list;
}
-struct GuestAgentInfo *qmp_guest_info(Error **err)
+struct GuestAgentInfo *qmp_guest_info(Error **errp)
{
GuestAgentInfo *info = g_malloc0(sizeof(GuestAgentInfo));