aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-04 16:49:59 +0100
committermalc <av1474@comtv.ru>2010-02-08 12:12:40 +0300
commite8105ebb94bf8c79c8ee8a66df5e8dfaabbfdbe1 (patch)
tree5eea89583321e90330e4a48663ff99a5583c370f /qemu-options.hx
parentdo not interpolate % from vl.c to qemu-options.h (diff)
downloadqemu-kvm-e8105ebb94bf8c79c8ee8a66df5e8dfaabbfdbe1.tar.gz
qemu-kvm-e8105ebb94bf8c79c8ee8a66df5e8dfaabbfdbe1.tar.bz2
qemu-kvm-e8105ebb94bf8c79c8ee8a66df5e8dfaabbfdbe1.zip
vl.c: avoid preprocessor directives in a printf call
Similar to the qemu-img.c patch, but I also have to unescape remaining % signs in qemu-options.hx. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'qemu-options.hx')
-rw-r--r--qemu-options.hx4
1 files changed, 2 insertions, 2 deletions
diff --git a/qemu-options.hx b/qemu-options.hx
index 2fa9ed48e..bb2d4fa5b 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -430,7 +430,7 @@ Also optionally set the top visible process name in Linux.
ETEXI
DEF("uuid", HAS_ARG, QEMU_OPTION_uuid,
- "-uuid %%08x-%%04x-%%04x-%%04x-%%012x\n"
+ "-uuid %08x-%04x-%04x-%04x-%012x\n"
" specify machine UUID\n")
STEXI
@item -uuid @var{uuid}
@@ -773,7 +773,7 @@ ETEXI
DEF("smbios", HAS_ARG, QEMU_OPTION_smbios,
"-smbios file=binary\n"
" load SMBIOS entry from binary file\n"
- "-smbios type=0[,vendor=str][,version=str][,date=str][,release=%%d.%%d]\n"
+ "-smbios type=0[,vendor=str][,version=str][,date=str][,release=%d.%d]\n"
" specify SMBIOS type 0 fields\n"
"-smbios type=1[,manufacturer=str][,product=str][,version=str][,serial=str]\n"
" [,uuid=uuid][,sku=str][,family=str]\n"