aboutsummaryrefslogtreecommitdiffstats
path: root/tap-wspstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'tap-wspstat.c')
-rw-r--r--tap-wspstat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tap-wspstat.c b/tap-wspstat.c
index 1e77dd4657..e3e76b56c6 100644
--- a/tap-wspstat.c
+++ b/tap-wspstat.c
@@ -214,7 +214,7 @@ wspstat_draw(void *psp)
* new instance for the wsp tap.
*/
static void
-wspstat_init(const char *optarg)
+wspstat_init(const char *optarg, void* userdata _U_)
{
wspstat_t *sp;
const char *filter=NULL;
@@ -281,5 +281,5 @@ wspstat_init(const char *optarg)
void
register_tap_listener_wspstat(void)
{
- register_stat_cmd_arg("wsp,stat,", wspstat_init);
+ register_stat_cmd_arg("wsp,stat,", wspstat_init,NULL);
}