mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
systat: fix build with newer ncurses
This commit is contained in:
parent
822ca32763
commit
35e941ce55
2 changed files with 2 additions and 2 deletions
|
|
@ -245,7 +245,7 @@ showports(void)
|
|||
if (sp)
|
||||
printw("%s ", sp->s_name);
|
||||
else
|
||||
printw("%d ", p->port);
|
||||
printw("%ld ", p->port);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -276,7 +276,7 @@ showsctp(void)
|
|||
domode(&stats);
|
||||
|
||||
#define DO(stat, row, col) \
|
||||
mvwprintw(wnd, row, col, "%12lu", stats.stat)
|
||||
mvwprintw(wnd, row, col, "%12u", stats.stat)
|
||||
#define L(row, stat) DO(stat, row, 0)
|
||||
#define R(row, stat) DO(stat, row, 38)
|
||||
L(1, sctps_activeestab); R(1, sctps_outpackets);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue