aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/init/init.c b/init/init.c
index d99d68ce4..b2fe85635 100644
--- a/init/init.c
+++ b/init/init.c
@@ -538,11 +538,7 @@ static struct init_action *mark_terminated(pid_t pid)
538 struct init_action *a; 538 struct init_action *a;
539 539
540 if (pid > 0) { 540 if (pid > 0) {
541 update_utmp(pid, DEAD_PROCESS, 541 update_utmp_DEAD_PROCESS(pid);
542 /*tty_name:*/ NULL,
543 /*username:*/ NULL,
544 /*hostname:*/ NULL
545 );
546 for (a = init_action_list; a; a = a->next) { 542 for (a = init_action_list; a; a = a->next) {
547 if (a->pid == pid) { 543 if (a->pid == pid) {
548 a->pid = 0; 544 a->pid = 0;