summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2010-02-08 12:04:56 +0300
committermalc <av1474@comtv.ru>2010-02-08 12:12:40 +0300
commit3f020d7024e26c1f159e30f5be2dc4f2f5affc07 (patch)
treeb826e70b54da3da7301db55cabcb64a2038a44c0 /vl.c
parentd55380bb9c9a5b1f4c7aa919e77f9bfb72023c3a (diff)
downloadqemu-3f020d7024e26c1f159e30f5be2dc4f2f5affc07.tar.gz
Revert "On some systems printf is a macro"
This reverts commit bc5b6004588ad17370e0416e40b4aa9cf977023b.
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/vl.c b/vl.c
index c22e300f0d..ea9a95c65d 100644
--- a/vl.c
+++ b/vl.c
@@ -4022,10 +4022,10 @@ static void version(void)
static void help(int exitcode)
{
version();
- (printf)("usage: %s [options] [disk_image]\n"
- "\n"
- "'disk_image' is a raw hard image image for IDE hard disk 0\n"
- "\n"
+ printf("usage: %s [options] [disk_image]\n"
+ "\n"
+ "'disk_image' is a raw hard image image for IDE hard disk 0\n"
+ "\n"
#define DEF(option, opt_arg, opt_enum, opt_help) \
opt_help
#define DEFHEADING(text) stringify(text) "\n"
@@ -4033,22 +4033,22 @@ static void help(int exitcode)
#undef DEF
#undef DEFHEADING
#undef GEN_DOCS
- "\n"
- "During emulation, the following keys are useful:\n"
- "ctrl-alt-f toggle full screen\n"
- "ctrl-alt-n switch to virtual console 'n'\n"
- "ctrl-alt toggle mouse and keyboard grab\n"
- "\n"
- "When using -nographic, press 'ctrl-a h' to get some help.\n"
- ,
- "qemu",
- DEFAULT_RAM_SIZE,
+ "\n"
+ "During emulation, the following keys are useful:\n"
+ "ctrl-alt-f toggle full screen\n"
+ "ctrl-alt-n switch to virtual console 'n'\n"
+ "ctrl-alt toggle mouse and keyboard grab\n"
+ "\n"
+ "When using -nographic, press 'ctrl-a h' to get some help.\n"
+ ,
+ "qemu",
+ DEFAULT_RAM_SIZE,
#ifndef _WIN32
- DEFAULT_NETWORK_SCRIPT,
- DEFAULT_NETWORK_DOWN_SCRIPT,
+ DEFAULT_NETWORK_SCRIPT,
+ DEFAULT_NETWORK_DOWN_SCRIPT,
#endif
- DEFAULT_GDBSTUB_PORT,
- "/tmp/qemu.log");
+ DEFAULT_GDBSTUB_PORT,
+ "/tmp/qemu.log");
exit(exitcode);
}