chiark / gitweb /
exec: hangup/reset/deallocate VTs in gettys
[elogind.git] / src / mount.c
index 4b300364aff39699374d1104a67d52b54730fc35..423cf434a493791d314be0860cae6ceea36da593 100644 (file)
@@ -1212,7 +1212,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
         m->failure = m->failure || !success;
 
         if (m->control_command) {
-                exec_status_exit(&m->control_command->exec_status, pid, code, status, m->exec_context.utmp_id);
+                exec_status_exit(&m->control_command->exec_status, &m->exec_context, pid, code, status);
                 m->control_command = NULL;
                 m->control_command_id = _MOUNT_EXEC_COMMAND_INVALID;
         }