diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-06-23 12:53:42 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2015-10-24 18:02:49 +0200 |
commit | 86d471bfa4262fa983c0214ace7336843e2181a2 (patch) | |
tree | 65e7705221a641ca56bda971fd682e26f71cd85e /iohandler.c | |
parent | 1f8552df2c7935a4cf883bda22acbe2adbf7d579 (diff) |
ivshmem: shmfd can be 0
0 is a valid fd value, so change conditions and set -1 value early
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Claudio Fontana <claudio.fontana@huawei.com>
Diffstat (limited to 'iohandler.c')
0 files changed, 0 insertions, 0 deletions