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