aboutsummaryrefslogtreecommitdiffstats
path: root/tap-protohierstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-protohierstat.c')
-rw-r--r--tap-protohierstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-protohierstat.c b/tap-protohierstat.c
index 7b79a70a8b..ac67765025 100644
--- a/tap-protohierstat.c
+++ b/tap-protohierstat.c
@@ -173,7 +173,7 @@ protohierstat_draw(void *prs)
static void
-protohierstat_init(const char *optarg)
+protohierstat_init(const char *optarg, void* userdata _U_)
{
phs_t *rs;
int pos=0;
@@ -223,6 +223,6 @@ protohierstat_init(const char *optarg)
void
register_tap_listener_protohierstat(void)
{
- register_stat_cmd_arg("io,phs", protohierstat_init);
+ register_stat_cmd_arg("io,phs", protohierstat_init, NULL);
}