chiark / gitweb /
man: fix typo in sd_notify
[elogind.git] / src / execute.c
index 866e8bf2f69ed9e088e47dea5afd3eebff44d851..250d53a424a07655929439929a62a56d6eec99c0 100644 (file)
@@ -1170,7 +1170,7 @@ int exec_spawn(ExecCommand *command,
                         }
 
                 if (context->utmp_id)
-                        utmp_put_init_process(0, context->utmp_id, getpid(), getsid(0), context->tty_path);
+                        utmp_put_init_process(context->utmp_id, getpid(), getsid(0), context->tty_path);
 
                 if (context->user) {
                         username = context->user;