X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=common%2Ftst-trie.c;h=9f69b1e67c9050d86c37484ca63e95e01e95d60f;hb=944e5baada4d41b5aa63a1247485435df9433f36;hp=78977a845c85c7e24a524ff2941c8ddb813bde5d;hpb=3df18edc2580a1cc3e95d427337e5afef042a83d;p=apps%2Fpfixtools.git diff --git a/common/tst-trie.c b/common/tst-trie.c index 78977a8..9f69b1e 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, true); + trie_inspect(trie, false); trie_delete(&trie); } return 0;