diff options
author | Michal Privoznik | 2018-03-24 06:14:49 +0100 |
---|---|---|
committer | Paolo Bonzini | 2018-03-26 14:37:15 +0200 |
commit | f8e1a989644f22ba2f7afb0e13b6ce2309ea9503 (patch) | |
tree | 27b9c93635786957336364ba7e4bc2b38dcd600a /scripts/device-crash-test | |
parent | chardev/char-fe: Allow NULL chardev in qemu_chr_fe_init() (diff) | |
download | qemu-f8e1a989644f22ba2f7afb0e13b6ce2309ea9503.tar.gz qemu-f8e1a989644f22ba2f7afb0e13b6ce2309ea9503.tar.xz qemu-f8e1a989644f22ba2f7afb0e13b6ce2309ea9503.zip |
qemu-pr-helper: Actually allow users to specify pidfile
Due to wrong specification of arguments to getopt_long() any
attempt to set pidfile resulted in:
1) the default to be leaked
2) the @pidfile variable to be set to NULL (because optarg is
NULL without this patch).
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-Id: <6f10cd53d361a395aa0e85a9311ec4e9a8fc11e5.1521868451.git.mprivozn@redhat.com>
Cc: qemu-stable@nongnu.org
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/device-crash-test')
0 files changed, 0 insertions, 0 deletions