X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fcore%2Fpath.c;fp=src%2Fcore%2Fpath.c;h=10df80f695bec6150e8b660d3849d1259996a3eb;hb=71fda00f320379f5cbee8e118848de98caaa229d;hp=99e2fedf2989a36095538051f854cb9994ee8b57;hpb=14bf2c9d375db6a4670bc0ef0e521e35a939a498;p=elogind.git diff --git a/src/core/path.c b/src/core/path.c index 99e2fedf2..10df80f69 100644 --- a/src/core/path.c +++ b/src/core/path.c @@ -283,7 +283,7 @@ void path_free_specs(Path *p) { while ((s = p->specs)) { path_spec_unwatch(s, UNIT(p)); - LIST_REMOVE(PathSpec, spec, p->specs, s); + LIST_REMOVE(spec, p->specs, s); path_spec_done(s); free(s); }