summaryrefslogtreecommitdiff
path: root/src/basic/util.c
diff options
context:
space:
mode:
authorSven Eden <yamakuzure@gmx.net>2017-06-08 08:49:12 +0200
committerSven Eden <yamakuzure@gmx.net>2017-06-16 10:12:58 +0200
commitb4f4684f3a95c915491cd7845911ecdf2622b2c2 (patch)
tree75d5cf09c96acae48f9578294b587afef1391706 /src/basic/util.c
parent3e00151fe64164d2a5f2e231120cb4247ec1794f (diff)
Prep v230: Add utmp support to make wall message to work properly.
Diffstat (limited to 'src/basic/util.c')
-rw-r--r--src/basic/util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/basic/util.c b/src/basic/util.c
index 1ef6f5f2b..12f7e1b05 100644
--- a/src/basic/util.c
+++ b/src/basic/util.c
@@ -413,10 +413,10 @@ int fork_agent(pid_t *pid, const int except[], unsigned n_except, const char *pa
/* Detach from stdout/stderr. and reopen
* /dev/tty for them. This is important to
- * ensure that when systemctl is started via
+ * ensure that when loginctl is started via
* popen() or a similar call that expects to
* read EOF we actually do generate EOF and
- * not delay this indefinitely by because we
+ * not delay this indefinitely because we
* keep an unused copy of stdin around. */
fd = open("/dev/tty", O_WRONLY);
if (fd < 0) {