diff options
author | Luca Boccassi <bluca@debian.org> | 2023-10-26 22:55:55 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-01 04:43:22 +0100 |
commit | fba173ff6adabb3fc19c7d115fa7916f5d09ad5c (patch) | |
tree | ed31f85b4fc554daa08f5f29f2c8ef69d372dc0a /src/core/swap.c | |
parent | po: Translated using Weblate (Portuguese) (diff) | |
download | systemd-fba173ff6adabb3fc19c7d115fa7916f5d09ad5c.tar.xz systemd-fba173ff6adabb3fc19c7d115fa7916f5d09ad5c.zip |
core: rename and add comment to ExecParameters cleanup functions
Diffstat (limited to 'src/core/swap.c')
-rw-r--r-- | src/core/swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/swap.c b/src/core/swap.c index 3a9f0e798d..488b1719c5 100644 --- a/src/core/swap.c +++ b/src/core/swap.c @@ -632,7 +632,7 @@ static void swap_dump(Unit *u, FILE *f, const char *prefix) { static int swap_spawn(Swap *s, ExecCommand *c, PidRef *ret_pid) { - _cleanup_(exec_params_clear) ExecParameters exec_params = EXEC_PARAMETERS_INIT( + _cleanup_(exec_params_shallow_clear) ExecParameters exec_params = EXEC_PARAMETERS_INIT( EXEC_APPLY_SANDBOXING|EXEC_APPLY_CHROOT|EXEC_APPLY_TTY_STDIN); _cleanup_(pidref_done) PidRef pidref = PIDREF_NULL; pid_t pid; |