chiark / gitweb /
Be more verbose when bind or listen fails
[elogind.git] / src / journal / journald-syslog.c
index afeb8bd129ad0532e582b28fd08ef2b27b959f19..656dc72bb9b3828fcbaed1a065bc81db354174cd 100644 (file)
@@ -441,7 +441,7 @@ int server_open_syslog_socket(Server *s) {
 
                 r = bind(s->syslog_fd, &sa.sa, offsetof(union sockaddr_union, un.sun_path) + strlen(sa.un.sun_path));
                 if (r < 0) {
-                        log_error("bind() failed: %m");
+                        log_error("bind(%s) failed: %m", sa.un.sun_path);
                         return -errno;
                 }