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 /seatd/server.c | |
parent | 2f54beb5fe95a8919182c407314c8a302a747627 (diff) |
FreeBSD compiler warning fix
Diffstat (limited to 'seatd/server.c')
-rw-r--r-- | seatd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/seatd/server.c b/seatd/server.c index 3db9b69..725ebf7 100644 --- a/seatd/server.c +++ b/seatd/server.c @@ -187,7 +187,7 @@ int server_listen(struct server *server, const char *path) { union { struct sockaddr_un unix; struct sockaddr generic; - } addr = {0}; + } addr = {{0}}; int fd = socket(AF_UNIX, SOCK_STREAM, 0); if (fd == -1) { log_errorf("could not create socket: %s", strerror(errno)); |