summaryrefslogtreecommitdiffstats
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2023-09-09 20:15:46 +0200
committerGitHub <noreply@github.com>2023-09-09 20:15:46 +0200
commitfd0a80427122c7bca0efb81ecc7ec11a483b4e6c (patch)
treedd323a17064945982e08f3b28c4385e8def39324 /src/core/mount.c
parentMerge pull request #29142 from poettering/pidref (diff)
parentcore: introduce unit_defaults_init() common initialization helper (diff)
downloadsystemd-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.c6
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;