summaryrefslogtreecommitdiff
path: root/ifpps.c
diff options
context:
space:
mode:
Diffstat (limited to 'ifpps.c')
-rw-r--r--ifpps.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/ifpps.c b/ifpps.c
index 69e0f24..9344625 100644
--- a/ifpps.c
+++ b/ifpps.c
@@ -1126,8 +1126,7 @@ static int screen_main(const char *ifname, uint64_t ms_interval,
return 0;
}
-static void term_csv(const char *ifname, const struct ifstat *rel,
- const struct ifstat *abs, uint64_t ms_interval)
+static void term_csv(const struct ifstat *rel, const struct ifstat *abs)
{
int cpus, i;
@@ -1283,7 +1282,7 @@ static int term_main(const char *ifname, uint64_t ms_interval,
term_csv_header(ifname, &stats_new, ms_interval);
}
- term_csv(ifname, &stats_delta, &stats_new, ms_interval);
+ term_csv(&stats_delta, &stats_new);
} while (stats_loop && !sigint);
return 0;