X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fcoverage.c;h=8b5e9d9c63ac7d0c4c1eacbdb1050ce567561e78;hb=0fec26b00be202f828193a66ed35c842389588f4;hp=cdc796ec3e661b63a69519a1cd89437c8f21b4e5;hpb=6bc995e46d64b90ef0b3186abec92f63eab2c2ad;p=openvswitch diff --git a/lib/coverage.c b/lib/coverage.c index cdc796ec..8b5e9d9c 100644 --- a/lib/coverage.c +++ b/lib/coverage.c @@ -30,7 +30,8 @@ static unsigned int epoch; static void -coverage_unixctl_log(struct unixctl_conn *conn, const char *args UNUSED) +coverage_unixctl_log(struct unixctl_conn *conn, const char *args UNUSED, + void *aux UNUSED) { coverage_log(VLL_WARN, false); unixctl_command_reply(conn, 200, NULL); @@ -39,7 +40,7 @@ coverage_unixctl_log(struct unixctl_conn *conn, const char *args UNUSED) void coverage_init(void) { - unixctl_command_register("coverage/log", coverage_unixctl_log); + unixctl_command_register("coverage/log", coverage_unixctl_log, NULL); } /* Sorts coverage counters in descending order by count, within equal counts