]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/tests/tests_pass_valgrind.c
tools: use tal/grab_file
[ccan] / tools / ccanlint / tests / tests_pass_valgrind.c
index d697cd981a1b19037781754c4cedb8634c4f7437..5b4250bc1c0596537b7fc80bcea9964eafb728bf 100644 (file)
@@ -3,6 +3,7 @@
 #include <ccan/str/str.h>
 #include <ccan/take/take.h>
 #include <ccan/foreach/foreach.h>
+#include <ccan/tal/grab_file/grab_file.h>
 #include "tests_pass.h"
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -180,7 +181,7 @@ static void do_run_tests_vg(struct manifest *m,
                                continue;
                        }
 
-                       output = tal_grab_file(i, i->valgrind_log, NULL);
+                       output = grab_file(i, i->valgrind_log);
                        /* No valgrind errors? */
                        if (!output || output[0] == '\0') {
                                err = NULL;