]> git.proxmox.com Git - mirror_qemu.git/commit
9p: proxy: Fix size passed to `connect`
authorKeno Fischer <keno@juliacomputing.com>
Thu, 7 Jun 2018 10:17:21 +0000 (12:17 +0200)
committerGreg Kurz <groug@kaod.org>
Thu, 7 Jun 2018 10:17:21 +0000 (12:17 +0200)
commitfde1f3e4a0644feb005894950427b622496769cb
tree3f9a718e868a9efd8f231a43163b39ff0c17c1ec
parent5d328d7d2f1fd4fb160bcfb6e4eb838720274438
9p: proxy: Fix size passed to `connect`

The size to pass to the `connect` call is the size of the entire
`struct sockaddr_un`. Passing anything shorter than this causes errors
on darwin.

Signed-off-by: Keno Fischer <keno@juliacomputing.com>
Signed-off-by: Greg Kurz <groug@kaod.org>
hw/9pfs/9p-proxy.c