tty-ask-password-agent: modernization

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2014-08-03 21:46:07 -04:00
parent 601185b43d
commit 1d749d044b
3 changed files with 91 additions and 155 deletions
+1 -4
View File
@@ -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;