diff options
Diffstat (limited to 'meta/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch')
-rw-r--r-- | meta/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch b/meta/packages/qemu/qemu-0.9.0+cvs20070613/03_machines_list_no_error.patch new file mode 100644 index 000000000..73f31550f --- /dev/null +++ b/meta/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: |