]> git.ozlabs.org Git - ccan/blobdiff - tools/manifest.c
tools: use tal/path instead of opencoding most paths.
[ccan] / tools / manifest.c
index 612a8a6d53ecfb1fe277483640b4fc080fcded06..b94016e1a62a419249e8a4f9bcb2d272b132be3c 100644 (file)
@@ -76,7 +76,7 @@ struct ccan_file *new_ccan_file(const void *ctx, const char *dir, char *name)
        for (i = 0; i < ARRAY_SIZE(f->compiled); i++)
                f->compiled[i] = NULL;
        f->name = tal_steal(f, name);
-       f->fullname = tal_fmt(f, "%s/%s", dir, f->name);
+       f->fullname = path_join(f, dir, f->name);
        f->contents = NULL;
        f->simplified = NULL;
        return f;