]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/str/test/run-string.c
tal/str: rename tal_asprintf/tal_vasprintf to tal_fmt/tal_vfmt.
[ccan] / ccan / tal / str / test / run-string.c
index 5246a8aa0513e0f44c0d1f864be9d7fdf087444d..bb614ae2fa070e09af6da909cc61b456ec2693c2 100644 (file)
@@ -36,7 +36,7 @@ int main(void)
        strcat(c, "x");
        tal_free(c);
 
-       c = tal_asprintf(parent, "hello %s", "there");
+       c = tal_fmt(parent, "hello %s", "there");
        ok1(strcmp(c, "hello there") == 0);
        ok1(tal_parent(c) == parent);
        tal_free(c);