]> git.proxmox.com Git - mirror_qemu.git/commit
contrib/vhost-user-blk: add missing GOptionEntry NULL terminator
authorStefan Hajnoczi <stefanha@redhat.com>
Mon, 11 Apr 2022 15:00:57 +0000 (16:00 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Thu, 21 Apr 2022 10:01:24 +0000 (12:01 +0200)
commit096b778f14e7ffabe0e6404fc75dfab981149c33
tree287d381b19d18994dc564c6d07119b3b30347071
parent747421e949fc1eb3ba66b5fcccdb7ba051918241
contrib/vhost-user-blk: add missing GOptionEntry NULL terminator

The GLib documentation says "a NULL-terminated array of GOptionEntrys"
so we'd better make sure there is a terminator that lets
g_option_context_add_main_entries() know when the end of the array has
been reached.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Message-id: 20220411150057.3009667-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
contrib/vhost-user-blk/vhost-user-blk.c