summaryrefslogtreecommitdiff
path: root/src/automount.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/automount.c')
-rw-r--r--src/automount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/automount.c b/src/automount.c
index 33c962e0c0..51fa0030dd 100644
--- a/src/automount.c
+++ b/src/automount.c
@@ -142,7 +142,7 @@ static int automount_add_mount_links(Automount *a) {
assert(a);
- LIST_FOREACH(units_per_type, other, a->meta.manager->units_per_type[UNIT_MOUNT])
+ LIST_FOREACH(units_by_type, other, a->meta.manager->units_by_type[UNIT_MOUNT])
if ((r = automount_add_one_mount_link(a, (Mount*) other)) < 0)
return r;