X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lib%2Fcoverage.c;h=8a9d0ea69f5243cfb1839d64218ce30adff93153;hb=560e802229f3028c02273435dd1c6efba33e0949;hp=5c99c18ade24b4f77630bb60618abf6ad4ad0d6f;hpb=5f55c39b21e69025045437ffbd3bb98fe6ce2e89;p=sliver-openvswitch.git diff --git a/lib/coverage.c b/lib/coverage.c index 5c99c18ad..8a9d0ea69 100644 --- a/lib/coverage.c +++ b/lib/coverage.c @@ -23,10 +23,10 @@ #include "hash.h" #include "unixctl.h" #include "util.h" - -#define THIS_MODULE VLM_coverage #include "vlog.h" +VLOG_DEFINE_THIS_MODULE(coverage) + static unsigned int epoch; static void @@ -123,7 +123,7 @@ coverage_log_counter(enum vlog_level level, const struct coverage_counter *c) } /* Logs the coverage counters at the given vlog 'level'. If - * 'suppress_dups' is true, then duplicate events are not displayed. + * 'suppress_dups' is true, then duplicate events are not displayed. * Care should be taken in the value used for 'level'. Depending on the * configuration, syslog can write changes synchronously, which can * cause the coverage messages to take several seconds to write. */