diff options
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path.c b/src/path.c index 8a940d0262..24545bad35 100644 --- a/src/path.c +++ b/src/path.c @@ -91,7 +91,7 @@ static int path_add_mount_links(Path *p) { static int path_verify(Path *p) { assert(p); - if (UNIT(p)->meta.load_state != UNIT_LOADED) + if (p->meta.load_state != UNIT_LOADED) return 0; if (!p->specs) { @@ -297,7 +297,7 @@ static void path_enter_running(Path *p) { int r; assert(p); - if ((r = manager_add_job(UNIT(p)->meta.manager, JOB_START, p->unit, JOB_REPLACE, true, NULL)) < 0) + if ((r = manager_add_job(p->meta.manager, JOB_START, p->unit, JOB_REPLACE, true, NULL)) < 0) goto fail; path_set_state(p, PATH_RUNNING); |