summaryrefslogtreecommitdiff
path: root/src/tty-ask-password-agent.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-02-09 00:58:43 +0100
committerLennart Poettering <lennart@poettering.net>2011-02-09 01:00:21 +0100
commit7f6d613516020bf390d8de25bbbb2551ea8dade0 (patch)
treed55fd33c0f105956341796e1f625c99f2816764d /src/tty-ask-password-agent.c
parentcd3f8b7ddb052ab5e4eab420968bae689db3899a (diff)
systemctl: make sure the tty agent does not retain a copy of stdio
https://bugzilla.redhat.com/show_bug.cgi?id=674916
Diffstat (limited to 'src/tty-ask-password-agent.c')
-rw-r--r--src/tty-ask-password-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tty-ask-password-agent.c b/src/tty-ask-password-agent.c
index c3c5f7a8b6..00496e7119 100644
--- a/src/tty-ask-password-agent.c
+++ b/src/tty-ask-password-agent.c
@@ -83,7 +83,7 @@ static int ask_password_plymouth(const char *message, usec_t until, const char *
sa.sa.sa_family = AF_UNIX;
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) {
- log_error("FIALED TO CONNECT: %m");
+ log_error("FAILED TO CONNECT: %m");
r = -errno;
goto finish;
}