projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04a42d5
)
ccanlint: fix SEGV when example has format string.
author
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 28 Jan 2011 06:41:06 +0000
(17:11 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 28 Jan 2011 06:41:06 +0000
(17:11 +1030)
tools/ccanlint/tests/examples_compile.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/tests/examples_compile.c
b/tools/ccanlint/tests/examples_compile.c
index 8ab806438f1b4aab25e033cda63fca6915017e0c..578805fe0c62a23db549a6e54e6fb0018980a15a 100644
(file)
--- a/
tools/ccanlint/tests/examples_compile.c
+++ b/
tools/ccanlint/tests/examples_compile.c
@@
-599,7
+599,7
@@
static void build_examples(struct manifest *m, bool keep,
err[1]);
}
}
- score_file_error(score, i, 0, error);
+ score_file_error(score, i, 0,
"%s",
error);
/* This didn't work, so not a candidate for combining. */
prev = NULL;