From a7b28fafda0e5c119a2507ef2fd0d5b620cdb892 Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Tue, 19 Aug 2014 02:37:19 +0930 Subject: [PATCH] tal/str: use tal/grab_file not grab_file in example. Signed-off-by: Rusty Russell --- ccan/tal/str/_info | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ccan/tal/str/_info b/ccan/tal/str/_info index 6fd94dc5..cb81c9e1 100644 --- a/ccan/tal/str/_info +++ b/ccan/tal/str/_info @@ -11,7 +11,7 @@ * * Example: * #include - * #include + * #include * #include * * // Dumb demo program to double-linespace a file. @@ -21,7 +21,7 @@ * char **lines; * * // Grab lines in file. - * textfile = grab_file(NULL, argv[1], NULL); + * textfile = grab_file(NULL, argv[1]); * if (!textfile) * err(1, "Failed reading %s", argv[1]); * lines = tal_strsplit(textfile, textfile, "\n", STR_EMPTY_OK); -- 2.39.2