diff options
author | Kenny Levinsen <kl@kl.wtf> | 2020-08-01 00:31:59 +0000 |
---|---|---|
committer | Kenny Levinsen <kl@kl.wtf> | 2020-08-01 16:53:44 +0200 |
commit | 56947d530ec2659fb779a4828ac02ebff17fd541 (patch) | |
tree | 5a6498a42aa95c50373c6fc465d43d92c3813b5e /libseat | |
parent | 2f54beb5fe95a8919182c407314c8a302a747627 (diff) |
FreeBSD compiler warning fix
Diffstat (limited to 'libseat')
-rw-r--r-- | libseat/backend/seatd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libseat/backend/seatd.c b/libseat/backend/seatd.c index 3b4a04b..654b5bb 100644 --- a/libseat/backend/seatd.c +++ b/libseat/backend/seatd.c @@ -54,7 +54,7 @@ static int seatd_connect(void) { union { struct sockaddr_un unix; struct sockaddr generic; - } addr = {0}; + } addr = {{0}}; int fd = socket(AF_UNIX, SOCK_STREAM, 0); if (fd == -1) { return -1; |