FreeBSD compiler warning fix

This commit is contained in:
Kenny Levinsen 2020-08-01 00:31:59 +00:00
parent 2f54beb5fe
commit 56947d530e
2 changed files with 2 additions and 2 deletions

View file

@ -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;