commit | bf6667d63ef4c4fbaf91051589a594ec1c235308 | [log] [tgz] |
---|---|---|
author | Stefan Hajnoczi <stefanha@redhat.com> | Mon Mar 30 14:57:15 2015 +0100 |
committer | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Tue Jun 16 20:32:29 2015 +0530 |
tree | 04be360e93addfa8001bcca5bfdf04cfafe11ba7 | |
parent | 93f6d1c16036aaf34055d16f54ea770fb8d6d280 [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>