summaryrefslogtreecommitdiff
path: root/src/core/dbus-socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/dbus-socket.c')
-rw-r--r--src/core/dbus-socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus-socket.c b/src/core/dbus-socket.c
index 43edbb60e4..d0d92507d6 100644
--- a/src/core/dbus-socket.c
+++ b/src/core/dbus-socket.c
@@ -371,7 +371,7 @@ static int bus_socket_set_transient_property(
return log_oom();
*p = (SocketPort) {
- .fd = -1,
+ .fd = -EBADF,
.socket = s,
};