chiark / gitweb /
Prep v230: Add utmp support to make wall message to work properly.
[elogind.git] / src / basic / util.c
index 1ef6f5f2bad2ad0aacdccb0acfef5373ed0761d8..12f7e1b0512a900e9335582ae1045beb82e1f6c2 100644 (file)
@@ -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) {