diff mbox series

[PULL,08/12] qemu-options: replace constant 1 with HAS_ARG

Message ID 20200206125027.1926263-9-laurent@vivier.eu
State New
Headers show
Series [PULL,01/12] hw/smbios/smbios: Remove unused include | expand

Commit Message

Laurent Vivier Feb. 6, 2020, 12:50 p.m. UTC
From: John Snow <jsnow@redhat.com>

This is the only instance of a non-zero constant not using a symbolic
constant.
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Message-Id: <20200204165638.25051-1-jsnow@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 qemu-options.hx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/qemu-options.hx b/qemu-options.hx
index 224a8e8712a4..ff3e806977a8 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1955,7 +1955,7 @@  STEXI
 Start in full screen.
 ETEXI
 
-DEF("g", 1, QEMU_OPTION_g ,
+DEF("g", HAS_ARG, QEMU_OPTION_g ,
     "-g WxH[xDEPTH]  Set the initial graphical resolution and depth\n",
     QEMU_ARCH_PPC | QEMU_ARCH_SPARC | QEMU_ARCH_M68K)
 STEXI