2014-03-03 15:25:26 +01:00
|
|
|
--- systemd-209/src/libsystemd/sd-bus/sd-bus.c
|
|
|
|
+++ systemd-209/src/libsystemd/sd-bus/sd-bus.c
|
|
|
|
@@ -794,8 +794,8 @@
|
2014-02-28 18:10:52 +01:00
|
|
|
machine = NULL;
|
2013-09-16 11:46:56 +02:00
|
|
|
|
2014-02-28 18:10:52 +01:00
|
|
|
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));
|
2014-03-03 15:25:26 +01:00
|
|
|
- b->sockaddr_size = offsetof(struct sockaddr_un, sun_path) + strlen("/var/run/dbus/system_bus_socket");
|
2014-02-28 18:10:52 +01:00
|
|
|
+ strncpy(b->sockaddr.un.sun_path, "/run/dbus/system_bus_socket", sizeof(b->sockaddr.un.sun_path));
|
2014-03-03 15:25:26 +01:00
|
|
|
+ b->sockaddr_size = offsetof(struct sockaddr_un, sun_path) + strlen("/run/dbus/system_bus_socket");
|
2013-09-16 11:46:56 +02:00
|
|
|
|
2014-02-28 18:10:52 +01:00
|
|
|
return 0;
|
|
|
|
}
|