diff options
Diffstat (limited to 'src/path.c')
-rw-r--r-- | src/path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/path.c b/src/path.c index c8086a8d19..a16d3fa0f2 100644 --- a/src/path.c +++ b/src/path.c @@ -287,7 +287,7 @@ static int path_add_mount_links(Path *p) { assert(p); LIST_FOREACH(units_by_type, other, UNIT(p)->manager->units_by_type[UNIT_MOUNT]) - if ((r = path_add_one_mount_link(p, (Mount*) other)) < 0) + if ((r = path_add_one_mount_link(p, MOUNT(other))) < 0) return r; return 0; |