bf6667d63e
The getopt_long(3) long options array must have a zeroed terminator. This patch solves a segmentation fault when an unknown command-line option is encountered: $ fsdev/virtfs-proxy-helper --help Segmentation fault (core dumped) Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> |
||
---|---|---|
.. | ||
file-op-9p.h | ||
Makefile.objs | ||
qemu-fsdev-dummy.c | ||
qemu-fsdev-opts.c | ||
qemu-fsdev.c | ||
qemu-fsdev.h | ||
virtfs-proxy-helper.c | ||
virtfs-proxy-helper.texi | ||
virtio-9p-marshal.c | ||
virtio-9p-marshal.h |