14 lines
662 B
Diff
14 lines
662 B
Diff
--- systemd-208.orig/src/libsystemd/sd-bus/sd-bus.c
|
|
+++ systemd-208/src/libsystemd/sd-bus/sd-bus.c
|
|
@@ -793,8 +793,8 @@
|
|
machine = NULL;
|
|
|
|
b->sockaddr.un.sun_family = AF_UNIX;
|
|
- strncpy(b->sockaddr.un.sun_path, "/var/run/dbus/system_bus_socket", sizeof(b->sockaddr.un.sun_path));
|
|
- b->sockaddr_size = offsetof(struct sockaddr_un, sun_path) + sizeof("/var/run/dbus/system_bus_socket") - 1;
|
|
+ strncpy(b->sockaddr.un.sun_path, "/run/dbus/system_bus_socket", sizeof(b->sockaddr.un.sun_path));
|
|
+ b->sockaddr_size = offsetof(struct sockaddr_un, sun_path) + sizeof("/run/dbus/system_bus_socket") - 1;
|
|
|
|
return 0;
|
|
}
|