chiark / gitweb /
Be more verbose when bind or listen fails
[elogind.git] / src / journal / journald-native.c
index 6674f3bd50ff291fff011263f22ee25c23392806..0f3936a1469676670587227bb15bcd0d9633755d 100644 (file)
@@ -404,7 +404,7 @@ int server_open_native_socket(Server*s) {
 
                 r = bind(s->native_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;
                 }