X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fautomount.c;h=51fa0030dd5a999fbdabb5040c6251884a71c5f1;hp=33c962e0c0c1e67aa3d82ffe12c1253b9b9e98be;hb=91f9dcaf9270fe465525638cc08bd94590273349;hpb=c8f4d7642b743c79328e10e8fb2d9b58e9f6b999 diff --git a/src/automount.c b/src/automount.c index 33c962e0c..51fa0030d 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;