diff options
Diffstat (limited to 'src/logger.c')
-rw-r--r-- | src/logger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/logger.c b/src/logger.c index c486a8acd1..2e036dd77b 100644 --- a/src/logger.c +++ b/src/logger.c @@ -428,7 +428,7 @@ static int server_init(Server *s, unsigned n_sockets) { fd = SD_LISTEN_FDS_START+i; - if ((r = sd_is_socket(fd, SOCK_STREAM, 1)) < 0) { + if ((r = sd_is_socket(fd, AF_UNSPEC, SOCK_STREAM, 1)) < 0) { log_error("Failed to determine file descriptor type: %s", strerror(-r)); goto fail; } |