aboutsummaryrefslogtreecommitdiff
path: root/qemu-nbd.c
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2015-03-30 14:57:15 +0100
committerAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2015-06-16 20:32:29 +0530
commitbf6667d63ef4c4fbaf91051589a594ec1c235308 (patch)
tree04be360e93addfa8001bcca5bfdf04cfafe11ba7 /qemu-nbd.c
parent93f6d1c16036aaf34055d16f54ea770fb8d6d280 (diff)
virtfs-proxy-helper: add missing long option terminator
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>
Diffstat (limited to 'qemu-nbd.c')
0 files changed, 0 insertions, 0 deletions