]> git.ozlabs.org Git - ccan/blobdiff - tools/ccanlint/ccanlint.c
ccanlint: fix -x core dump
[ccan] / tools / ccanlint / ccanlint.c
index e70eca1b342f58e418df333be223b1be0c123d5c..58ca1f537d7d0d3f5d75058b534edac722016d3c 100644 (file)
@@ -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;
 }