summaryrefslogtreecommitdiff
path: root/hw/watchdog
diff options
context:
space:
mode:
authorWenchao Xia <wenchaoqemu@gmail.com>2014-06-24 16:34:00 -0700
committerLuiz Capitulino <lcapitulino@redhat.com>2014-06-27 09:27:56 -0400
commit2f44a08b3e2a42eb78dcb75657e007dffacba30d (patch)
tree7122392a1cd58170934300954da8ff56b01df2d0 /hw/watchdog
parentd6f9c82c62023c1ed5af76847c55b0a663bdd2cc (diff)
downloadqemu-2f44a08b3e2a42eb78dcb75657e007dffacba30d.tar.gz
qapi event: clean up in callers
This patch improves docs and address small issues in event callers. Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'hw/watchdog')
-rw-r--r--hw/watchdog/watchdog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/watchdog/watchdog.c b/hw/watchdog/watchdog.c
index 4aebd34924..9f607d42bb 100644
--- a/hw/watchdog/watchdog.c
+++ b/hw/watchdog/watchdog.c
@@ -106,7 +106,7 @@ int select_watchdog_action(const char *p)
*/
void watchdog_perform_action(void)
{
- switch(watchdog_action) {
+ switch (watchdog_action) {
case WDT_RESET: /* same as 'system_reset' in monitor */
qapi_event_send_watchdog(WATCHDOG_EXPIRATION_ACTION_RESET, &error_abort);
qemu_system_reset_request();