diff options
author | Luca Boccassi <bluca@debian.org> | 2023-09-09 20:15:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-09 20:15:46 +0200 |
commit | fd0a80427122c7bca0efb81ecc7ec11a483b4e6c (patch) | |
tree | dd323a17064945982e08f3b28c4385e8def39324 /src/core/mount.c | |
parent | Merge pull request #29142 from poettering/pidref (diff) | |
parent | core: introduce unit_defaults_init() common initialization helper (diff) | |
download | systemd-fd0a80427122c7bca0efb81ecc7ec11a483b4e6c.tar.xz systemd-fd0a80427122c7bca0efb81ecc7ec11a483b4e6c.zip |
Merge pull request #29130 from poettering/unit-defaults
core: introduce UnitDefaults structure for unit defaults
Diffstat (limited to 'src/core/mount.c')
-rw-r--r-- | src/core/mount.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/mount.c b/src/core/mount.c index 5347d73f36..57045f3da4 100644 --- a/src/core/mount.c +++ b/src/core/mount.c @@ -172,10 +172,10 @@ static void mount_init(Unit *u) { assert(u); assert(u->load_state == UNIT_STUB); - m->timeout_usec = u->manager->default_timeout_start_usec; + m->timeout_usec = u->manager->defaults.timeout_start_usec; - m->exec_context.std_output = u->manager->default_std_output; - m->exec_context.std_error = u->manager->default_std_error; + m->exec_context.std_output = u->manager->defaults.std_output; + m->exec_context.std_error = u->manager->defaults.std_error; m->directory_mode = 0755; |