nspawn: fix type to pass to connect()
authorLennart Poettering <lennart@poettering.net>
Wed, 1 Sep 2021 12:41:37 +0000 (14:41 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 1 Sep 2021 23:27:46 +0000 (08:27 +0900)
commit32b9736a230d47b73babcc5cfa27d672bb721bd0
tree078c3c173d3d5b4f8bf30f0932ebd692aa96f3f5
parent54632d2ea405e9df9ca9c3c469c7d0feb3a85323
nspawn: fix type to pass to connect()

It expects a generic "struct sockaddr", not a "struct sockaddr_un".
Pass the right member of the union.

Not sure why gcc/llvm never complained about this...
src/nspawn/nspawn.c