chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
exec: hangup/reset/deallocate VTs in gettys
[elogind.git]
/
src
/
swap.c
diff --git
a/src/swap.c
b/src/swap.c
index ef001a98bfc1c193ead87be6fd4f673731058f6e..04df5854add8432c7976093f7f02d02e0f35e7fe 100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-940,7
+940,7
@@
static void swap_sigchld_event(Unit *u, pid_t pid, int code, int status) {
s->failure = s->failure || !success;
if (s->control_command) {
s->failure = s->failure || !success;
if (s->control_command) {
- exec_status_exit(&s->control_command->exec_status,
pid, code, status, s->exec_context.utmp_id
);
+ exec_status_exit(&s->control_command->exec_status,
&s->exec_context, pid, code, status
);
s->control_command = NULL;
s->control_command_id = _SWAP_EXEC_COMMAND_INVALID;
}
s->control_command = NULL;
s->control_command_id = _SWAP_EXEC_COMMAND_INVALID;
}