projects
/
ccan
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1591860
)
ccanlint: fix bogus strerror printing when unknown test handed to --target
author
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 13 Dec 2010 08:15:25 +0000
(18:45 +1030)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Mon, 13 Dec 2010 08:15:25 +0000
(18:45 +1030)
tools/ccanlint/ccanlint.c
patch
|
blob
|
history
diff --git
a/tools/ccanlint/ccanlint.c
b/tools/ccanlint/ccanlint.c
index 58ca1f537d7d0d3f5d75058b534edac722016d3c..ee34dd71438d179fe72999bca15c1967c8e039a8 100644
(file)
--- a/
tools/ccanlint/ccanlint.c
+++ b/
tools/ccanlint/ccanlint.c
@@
-497,7
+497,7
@@
int main(int argc, char *argv[])
test = find_test(target);
if (!test)
- err(1, "Unknown test to run '%s'", target);
+ err
x
(1, "Unknown test to run '%s'", target);
skip_unrelated_tests(test);
}