summaryrefslogtreecommitdiffstats
path: root/qga/commands-win32.c
diff options
context:
space:
mode:
authorMarkus Armbruster2020-11-13 09:26:24 +0100
committerMarkus Armbruster2020-12-10 17:16:44 +0100
commit9fc0ab5c9ca6bd3d3179a85a5cff18d709550bf5 (patch)
tree18eec8126459f8b63e0864b37c34516bf6e7c2c0 /qga/commands-win32.c
parentqga: Replace an unreachable error by abort() (diff)
downloadqemu-9fc0ab5c9ca6bd3d3179a85a5cff18d709550bf5.tar.gz
qemu-9fc0ab5c9ca6bd3d3179a85a5cff18d709550bf5.tar.xz
qemu-9fc0ab5c9ca6bd3d3179a85a5cff18d709550bf5.zip
qga: Tweak a guest-shutdown error message
Change Parameter 'mode' expects halt|powerdown|reboot to Parameter 'mode' expects 'halt', 'powerdown', or 'reboot' for consistency with similar error messages elsewhere. Cc: Michael Roth <mdroth@linux.vnet.ibm.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20201113082626.2725812-9-armbru@redhat.com>
Diffstat (limited to 'qga/commands-win32.c')
-rw-r--r--qga/commands-win32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qga/commands-win32.c b/qga/commands-win32.c
index 87dc43e837..ba1fd07d06 100644
--- a/qga/commands-win32.c
+++ b/qga/commands-win32.c
@@ -334,7 +334,7 @@ void qmp_guest_shutdown(bool has_mode, const char *mode, Error **errp)
shutdown_flag |= EWX_REBOOT;
} else {
error_setg(errp, QERR_INVALID_PARAMETER_VALUE, "mode",
- "halt|powerdown|reboot");
+ "'halt', 'powerdown', or 'reboot'");
return;
}