vhost-user-input: check ioctl(EVIOCGNAME) return value
commitbe32fd9ee1d85e682d652d11b6e32e7f700420bb
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 5 Jun 2019 14:58:28 +0000 (5 16:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 16 Jun 2019 20:16:52 +0000 (16 16:16 -0400)
tree124e8e2543408e7f75c329dac61100dcc4768b24
parentf55411cf143f868e70cd769171fa1db8953a626e
vhost-user-input: check ioctl(EVIOCGNAME) return value

This should fix coverity CID 1401704.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20190605145829.7674-5-marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
contrib/vhost-user-input/main.c