aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2012-05-02 13:07:28 -0300
committerAnthony Liguori <aliguori@us.ibm.com>2012-05-10 12:37:56 -0500
commit3ed2d9ee1f7a09129df2694ba9fae2f7c5abf050 (patch)
tree64e7dec8d806a9880af8c3c8aeaf48af70f17eef
parent756557de6492b04a3bc6670366b925f28698f903 (diff)
vl.c: change 'defconfig' variable to bool (v2)
Changes v1 -> v2: - Actually change the variable type declaration to 'bool' Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r--vl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vl.c b/vl.c
index 5d1d0f9993..4667bd2399 100644
--- a/vl.c
+++ b/vl.c
@@ -2283,7 +2283,7 @@ int main(int argc, char **argv, char **envp)
#ifdef CONFIG_VNC
int show_vnc_port = 0;
#endif
- int defconfig = 1;
+ bool defconfig = true;
const char *log_mask = NULL;
const char *log_file = NULL;
GMemVTable mem_trace = {
@@ -2350,7 +2350,7 @@ int main(int argc, char **argv, char **envp)
popt = lookup_opt(argc, argv, &optarg, &optind);
switch (popt->index) {
case QEMU_OPTION_nodefconfig:
- defconfig=0;
+ defconfig = false;
break;
}
}