X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2Ftst-trie.c;h=c9e16dc4480e272436ba2ce40f165329d8a9c3dd;hb=520b2f3bb198bfbb88b90b058ef610f0a9b980c6;hp=990b151e20ae08d5e1496546a84ed7ecaa99d43a;hpb=193694fdba386a89b4b2a83ce803764302995e89;p=apps%2Fpfixtools.git diff --git a/common/tst-trie.c b/common/tst-trie.c index 990b151..c9e16dc 100644 --- a/common/tst-trie.c +++ b/common/tst-trie.c @@ -54,8 +54,7 @@ static trie_t *create_trie_from_file(const char *file) --end; } if (end != map.end) { - syslog(LOG_WARNING, "file %s miss a final \\n, ignoring last line", - file); + warn("file %s miss a final \\n, ignoring last line", file); } db = trie_new(); @@ -129,7 +128,7 @@ int main(int argc, char *argv[]) */ if (argc > 1) { trie = create_trie_from_file(argv[1]); - trie_inspect(trie, false); + trie_inspect(trie, true); trie_delete(&trie); } return 0;