]> git.ozlabs.org Git - ccan/blobdiff - tools/depends.c
failtest: fix void * arithmetic in example.
[ccan] / tools / depends.c
index 82524da0a256977ac61191f8ebf2b8d689e5eace..16c2a5b3de54bbfe32f963958693fe8c851dfbce 100644 (file)
@@ -13,7 +13,7 @@
 #include <errno.h>
 
 static char ** __attribute__((format(printf, 2, 3)))
-lines_from_cmd(const void *ctx, char *format, ...)
+lines_from_cmd(const void *ctx, const char *format, ...)
 {
        va_list ap;
        char *cmd, *buffer;