X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fpath.c;h=1c20dcfed60599aa660db6cb47eeca0a30dd4d98;hb=88bb8d215aa0f5576eb3f9c77c30cdc4b17783fe;hp=c722a45377b0b38801c4171bb43be65d6d89ff82;hpb=ac3f50caa50835a429fc59d9168799bbb6e24fb9;p=elogind.git diff --git a/src/path.c b/src/path.c index c722a4537..1c20dcfed 100644 --- a/src/path.c +++ b/src/path.c @@ -102,7 +102,7 @@ static int path_add_mount_links(Path *p) { assert(p); - LIST_FOREACH(units_per_type, other, p->meta.manager->units_per_type[UNIT_MOUNT]) + LIST_FOREACH(units_by_type, other, p->meta.manager->units_by_type[UNIT_MOUNT]) if ((r = path_add_one_mount_link(p, (Mount*) other)) < 0) return r;