]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/dbus-socket.c
tree-wide: use -EBADF for fd initialization
[thirdparty/systemd.git] / src / core / dbus-socket.c
index 43edbb60e4bf60afe8616cbc25bb90447d76091b..d0d92507d6ab47baee6c5395e7b652f3e4c61783 100644 (file)
@@ -371,7 +371,7 @@ static int bus_socket_set_transient_property(
                                 return log_oom();
 
                         *p = (SocketPort) {
-                                .fd = -1,
+                                .fd = -EBADF,
                                 .socket = s,
                         };