X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=tools%2Fccanlint%2Fccanlint.c;h=58ca1f537d7d0d3f5d75058b534edac722016d3c;hb=dde924399b8e16de3e2426af8a44b4fde95c5f48;hp=e70eca1b342f58e418df333be223b1be0c123d5c;hpb=ef9dec6018e1f0c6e546245a1478be523592d02d;p=ccan-lca-2011.git diff --git a/tools/ccanlint/ccanlint.c b/tools/ccanlint/ccanlint.c index e70eca1..58ca1f5 100644 --- a/tools/ccanlint/ccanlint.c +++ b/tools/ccanlint/ccanlint.c @@ -318,7 +318,7 @@ static char *keep_test(const char *testname, void *unused) static char *skip_test(const char *testname, void *unused) { - btree_insert(cmdline_exclude, optarg); + btree_insert(cmdline_exclude, testname); return NULL; }