diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-03 12:52:03 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-08-03 21:46:07 -0400 |
commit | 1d749d044bf0e95697b6649e046aab82b0f02aa0 (patch) | |
tree | 59af3bf4d16ee1cca625721d46b32059071b667b /src/core/manager.c | |
parent | 601185b43da638b1c74153deae01dbd518680889 (diff) |
tty-ask-password-agent: modernization
Diffstat (limited to 'src/core/manager.c')
-rw-r--r-- | src/core/manager.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/manager.c b/src/core/manager.c index af508ef30c..32c056588a 100644 --- a/src/core/manager.c +++ b/src/core/manager.c @@ -1977,10 +1977,7 @@ void manager_send_unit_audit(Manager *m, Unit *u, int type, bool success) { } void manager_send_unit_plymouth(Manager *m, Unit *u) { - union sockaddr_union sa = { - .un.sun_family = AF_UNIX, - .un.sun_path = "\0/org/freedesktop/plymouthd", - }; + union sockaddr_union sa = PLYMOUTH_SOCKET; int n = 0; _cleanup_free_ char *message = NULL; |