grab_fd and grab_file: add a size arg, use everywhere.
[ccan] / tools / create_dep_tar.c
index 3a84f8d9d4ef6933579ea1dfababd3ee358d1126..78bdea6c9031f833cc4da09f1b518a18956a288a 100644 (file)
@@ -61,7 +61,7 @@ create_tar(char **deps, const char *dir, const char *targetdir)
        if (!p)
                err(1, "Executing '%s'", cmd);
 
-       buffer = grab_fd(NULL, fileno(p));
+       buffer = grab_fd(NULL, fileno(p), NULL);
        if (!buffer)
                err(1, "Reading from '%s'", cmd);
        pclose(p);