X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-lockfile.c;h=0feb27057d294d39829aee81124fb8e2b7683fc0;hb=0cc96e48ab2fc573c3b7b69fe5a034bb29dde578;hp=81a9e9f16cfe3120a2fddb4120ba0deef6a8a4a3;hpb=ff8bb7e76b2cdcbcf88cd2fac663ba517e4a659c;p=openvswitch diff --git a/tests/test-lockfile.c b/tests/test-lockfile.c index 81a9e9f1..0feb2705 100644 --- a/tests/test-lockfile.c +++ b/tests/test-lockfile.c @@ -26,6 +26,7 @@ #include "process.h" #include "timeval.h" #include "util.h" +#include "vlog.h" #undef NDEBUG #include @@ -237,9 +238,11 @@ static const struct test tests[] = { int main(int argc, char *argv[]) { + extern struct vlog_module VLM_lockfile; size_t i; set_program_name(argv[0]); + vlog_set_levels(&VLM_lockfile, VLF_ANY_FACILITY, VLL_ERR); if (argc != 2) { ovs_fatal(0, "exactly one argument required; use \"%s help\" for help",