aboutsummaryrefslogtreecommitdiffstats
path: root/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch')
-rw-r--r--packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch b/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch
new file mode 100644
index 0000000000..73f31550fe
--- /dev/null
+++ b/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch
@@ -0,0 +1,18 @@
+#DPATCHLEVEL=0
+---
+# vl.c | 2 +-
+# 1 file changed, 1 insertion(+), 1 deletion(-)
+#
+Index: vl.c
+===================================================================
+--- vl.c.orig 2007-06-13 11:51:52.000000000 +0100
++++ vl.c 2007-06-13 11:52:24.000000000 +0100
+@@ -7242,7 +7242,7 @@ int main(int argc, char **argv)
+ m->name, m->desc,
+ m == first_machine ? " (default)" : "");
+ }
+- exit(1);
++ exit(strcmp(optarg, "?"));
+ }
+ break;
+ case QEMU_OPTION_cpu: