From nobody Thu Jun 20 13:51:46 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W4hjx3Jxtz5NqYx; Thu, 20 Jun 2024 13:51:49 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from omta002.cacentral1.a.cloudfilter.net (omta002.cacentral1.a.cloudfilter.net [3.97.99.33]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W4hjx1S3Bz4YSR; Thu, 20 Jun 2024 13:51:49 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Authentication-Results: mx1.freebsd.org; none Received: from shw-obgw-4001a.ext.cloudfilter.net ([10.228.9.142]) by cmsmtp with ESMTPS id KCo0swFcUdrxEKICas4Npw; Thu, 20 Jun 2024 13:51:48 +0000 Received: from spqr.komquats.com ([70.66.152.170]) by cmsmtp with ESMTPSA id KICZs7BfSpsbgKICZsWyb7; Thu, 20 Jun 2024 13:51:48 +0000 X-Auth-User: cschuber X-Authority-Analysis: v=2.4 cv=Ff+Ux4+6 c=1 sm=1 tr=0 ts=667433f4 a=y8EK/9tc/U6QY+pUhnbtgQ==:117 a=y8EK/9tc/U6QY+pUhnbtgQ==:17 a=kj9zAlcOel0A:10 a=T1WGqf2p2xoA:10 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=EkcXrb_YAAAA:8 a=yrBq6eRubN929Ok-BtMA:9 a=CjuIK1q_8ugA:10 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=LK5xJRSDVpKd5WXXoEvA:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTP id D8CDAA19; Thu, 20 Jun 2024 06:51:46 -0700 (PDT) Received: by slippy.cwsent.com (Postfix, from userid 1000) id C004A76; Thu, 20 Jun 2024 06:51:46 -0700 (PDT) X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.8+dev Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Baptiste Daroussin cc: Cy Schubert , src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 35e941ce5520 - main - systat: fix build with newer ncurses In-reply-to: References: <202406201312.45KDCcFk092290@gitrepo.freebsd.org> <20240620133454.24C13193@slippy.cwsent.com> Comments: In-reply-to Baptiste Daroussin message dated "Thu, 20 Jun 2024 15:45:21 +0200." List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 20 Jun 2024 06:51:46 -0700 Message-Id: <20240620135146.C004A76@slippy.cwsent.com> X-CMAE-Envelope: MS4xfFVoSFsVX+OEkCzcAjgB7gLN0/kOk82ylOJHbrV1d37TKE1wr9gAUhETLpZJixSAJPHjtot9hlLXl7/E2uMO/oAclwDXFwE15LNDhQV5gIttq0rcwJLC Nz9Ja5IyM/4X4WoDeg6zKD2qyVeJfo2l8k4KaDxs6CXl39vDBdORwNW6L99W93DLg9jdG0GO2YDLLl/ymDrxso191gdmOgxcfXa/2e8DdAIqblUpiCU55/4H 6UGwn+iU4OEkLrCMNpaH/rloOaNgFveX+NL4lB4PeLHCT09wm5yRnI6cgKi6kZCHVyQCIJbKp+LKXsVAup2imB/YdMzVp2DSIUxeOZd80iE= X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16509, ipnet:3.96.0.0/15, country:US] X-Rspamd-Queue-Id: 4W4hjx1S3Bz4YSR In message , B aptiste Daroussin writes: > On Thu 20 Jun 06:34, Cy Schubert wrote: > > In message <202406201312.45KDCcFk092290@gitrepo.freebsd.org>, Baptiste > > Daroussi > > n writes: > > > The branch main has been updated by bapt: > > > > > > URL: https://cgit.FreeBSD.org/src/commit/?id=35e941ce5520b8ef710bb388bd63 > 460a > > > a0ce63eb > > > > > > commit 35e941ce5520b8ef710bb388bd63460aa0ce63eb > > > Author: Baptiste Daroussin > > > AuthorDate: 2024-06-20 13:10:38 +0000 > > > Commit: Baptiste Daroussin > > > 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. > > > > > fixed, That fixed it. Thanks. -- Cheers, Cy Schubert FreeBSD UNIX: Web: https://FreeBSD.org NTP: Web: https://nwtime.org e^(i*pi)+1=0