virtio-9p-proxy: fix error return in proxy_init()
commit6af76c6f7dbcc6255f5a5cac20ad61d1492d4052
authorMichael Tokarev <mjt@tls.msk.ru>
Thu, 30 Oct 2014 08:00:01 +0000 (30 11:00 +0300)
committerMichael Tokarev <mjt@tls.msk.ru>
Sun, 2 Nov 2014 07:04:34 +0000 (2 10:04 +0300)
treebfa912780a87f47b5a8aeb5f2dc6f5679d78c23c
parent660edd4eda903e32811a4929d1434cceda3284aa
virtio-9p-proxy: fix error return in proxy_init()

proxy_init() does not check the return value of connect_namedsocket(),
fix this by rearranging code a little bit.

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/9pfs/virtio-9p-proxy.c