In message <202406201312.45kdccfk092...@gitrepo.freebsd.org>, Baptiste 
Daroussi
n writes:
> The branch main has been updated by bapt:
>
> URL: https://cgit.FreeBSD.org/src/commit/?id=35e941ce5520b8ef710bb388bd63460a
> a0ce63eb
>
> commit 35e941ce5520b8ef710bb388bd63460aa0ce63eb
> Author:     Baptiste Daroussin <b...@freebsd.org>
> AuthorDate: 2024-06-20 13:10:38 +0000
> Commit:     Baptiste Daroussin <b...@freebsd.org>
> CommitDate: 2024-06-20 13:10:38 +0000
>
>     systat: fix build with newer ncurses
> ---
>  usr.bin/systat/netcmds.c | 2 +-
>  usr.bin/systat/sctp.c    | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/usr.bin/systat/netcmds.c b/usr.bin/systat/netcmds.c
> index 5b6cb2163b7b..c0bbda7dee8a 100644
> --- a/usr.bin/systat/netcmds.c
> +++ b/usr.bin/systat/netcmds.c
> @@ -245,7 +245,7 @@ showports(void)
>               if (sp)
>                       printw("%s ", sp->s_name);
>               else
> -                     printw("%d ", p->port);
> +                     printw("%ld ", p->port);
>       }
>  }
>  
> diff --git a/usr.bin/systat/sctp.c b/usr.bin/systat/sctp.c
> index abe4d0e68e04..26abbec68da8 100644
> --- a/usr.bin/systat/sctp.c
> +++ b/usr.bin/systat/sctp.c
> @@ -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);
>

I'm still getting errors. This time in ee.


-- 
Cheers,
Cy Schubert <cy.schub...@cschubert.com>
FreeBSD UNIX:  <c...@freebsd.org>   Web:  https://FreeBSD.org
NTP:           <c...@nwtime.org>    Web:  https://nwtime.org

                        e^(i*pi)+1=0



Reply via email to