mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 01:55:19 +01:00
systat: fix build with newer ncurses
This commit is contained in:
parent
822ca32763
commit
35e941ce55
@ -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…
Reference in New Issue
Block a user