qemu-e2k/scsi
Michal Privoznik f8e1a98964 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>
2018-03-26 14:37:15 +02:00
..
Makefile.objs scsi: add persistent reservation manager using qemu-pr-helper 2017-09-22 21:07:27 +02:00
pr-helper.h Clean up includes 2018-02-09 05:05:11 +01:00
pr-manager-helper.c scsi: add persistent reservation manager using qemu-pr-helper 2017-09-22 21:07:27 +02:00
pr-manager.c scsi, file-posix: add support for persistent reservation management 2017-09-22 01:06:51 +02:00
qemu-pr-helper.c qemu-pr-helper: Actually allow users to specify pidfile 2018-03-26 14:37:15 +02:00
trace-events scsi, file-posix: add support for persistent reservation management 2017-09-22 01:06:51 +02:00
utils.c scsi: fix scsi_convert_sense crash when in_buf == NULL && in_len == 0 2018-01-12 09:54:13 +01:00