Commit 367f8b51 authored by Martin Blix Grydeland's avatar Martin Blix Grydeland

Don't trigger name shadows global warning

parent ac8c50e1
...@@ -174,7 +174,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[], ...@@ -174,7 +174,7 @@ accumulate(struct VSL_data *vsl, struct VSL_transaction * const pt[],
} }
static void static void
update(const struct VSM_data *vd, int period) update(const struct VSM_data *vd, int p)
{ {
struct top *tp, *tp2; struct top *tp, *tp2;
int l, len; int l, len;
...@@ -189,7 +189,7 @@ update(const struct VSM_data *vd, int period) ...@@ -189,7 +189,7 @@ update(const struct VSM_data *vd, int period)
last = now; last = now;
l = 1; l = 1;
if (n < period) if (n < p)
n++; n++;
AC(erase()); AC(erase());
AC(mvprintw(0, 0, "%*s", COLS - 1, VSM_Name(vd))); AC(mvprintw(0, 0, "%*s", COLS - 1, VSM_Name(vd)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment