diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-11-16 03:12:54 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-11-16 03:12:54 +0100 |
commit | 967072694d4ebb1b7c5989b92aa71af48954a975 (patch) | |
tree | 219e7c279f66c6409195c418468c314f9f086d76 /src/manager.c | |
parent | 180f90cb13ffbf8e6269ec3afb24243fec936e0c (diff) |
plymouth: use updated socket name
Diffstat (limited to 'src/manager.c')
-rw-r--r-- | src/manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/manager.c b/src/manager.c index 25d85eaf11..827e9937c6 100644 --- a/src/manager.c +++ b/src/manager.c @@ -2447,8 +2447,8 @@ void manager_send_unit_plymouth(Manager *m, Unit *u) { zero(sa); sa.sa.sa_family = AF_UNIX; - strncpy(sa.un.sun_path+1, "/ply-boot-protocol", sizeof(sa.un.sun_path)-1); - if (connect(fd, &sa.sa, sizeof(sa.un)) < 0) { + strncpy(sa.un.sun_path+1, "/org/freedesktop/plymouthd", sizeof(sa.un.sun_path)-1); + if (connect(fd, &sa.sa, offsetof(struct sockaddr_un, sun_path) + 1 + strlen(sa.un.sun_path+1)) < 0) { if (errno != EPIPE && errno != EAGAIN && |