aboutsummaryrefslogtreecommitdiff
path: root/seatd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'seatd/server.c')
-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));