aboutsummaryrefslogtreecommitdiff
path: root/seatd
diff options
context:
space:
mode:
authorKenny Levinsen <kl@kl.wtf>2020-08-01 00:31:59 +0000
committerKenny Levinsen <kl@kl.wtf>2020-08-01 16:53:44 +0200
commit56947d530ec2659fb779a4828ac02ebff17fd541 (patch)
tree5a6498a42aa95c50373c6fc465d43d92c3813b5e /seatd
parent2f54beb5fe95a8919182c407314c8a302a747627 (diff)
FreeBSD compiler warning fix
Diffstat (limited to 'seatd')
-rw-r--r--seatd/server.c2
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));