From nobody Thu Jun 27 09:02:45 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 4W8sz962Z6z5PGdf; Thu, 27 Jun 2024 09:02:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W8sz93tJLz4XXq; Thu, 27 Jun 2024 09:02:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719478965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OLaSi30cFbt6aY8Y8JUCmOVAlelGNPht93RJ2Mw+LeQ=; b=C2QZ4cHAgy3Ed9AvxheOvnX/N9Xoe4QvGcq7PrsC24AhAt8YykTLkiAukLAcXTC+aCmZDw jsHFy+Wq/qBzZUHPSVvOTbPnqMAweJg3yjrFhkozf5KX0aqp9HCuPqBMqNM4fiZ8bsMFwo 6Q/E0gldz+um29qeBSOAvzvMFzeiP24div4IRgH230oXjGCuRHaWPBOvbgJU883TNmIKll i5mYi7MRzvO/rYkjFoeJhGdOH0iefx92e4iAwpa+rBXpZHRBr9OVEXahbtGzI2UEPL2CAj Vs1rEJGfzO1x3P8QU4mNBw5MrjmF1L2vtbwaRAAhwBnyWAyr2uCmIxoKWJrlOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719478965; a=rsa-sha256; cv=none; b=DFH2sQKC3FotzWRQbGnbxyWjG0op8zZ48yCD1JTn8sspK92C/U78hbXDTc7FRQ9RJcqnSU KUUbkuMHfjGn71bHVw/QbJZda7gh08DtwmpXi9Tucsqz/KAeIFA9nzwIQfusZxKyH9QeQl Vuq2H/Mc0XppAHfv/mBSI5CmAn5sv5HewJbPabqybwwvYKRerVp5TNgIO0KOCn/+Xu69Mk NC3k2tCyW6jDykLcPJlho9Ovpl9995bA9+L5iphMUhEEWMrL1mMnQQ8R9y2EBbgoNP/0lg bO87YdDInFXW7vrisxmO450E6fXTPjhPW8A6HVoAp1UQFlQJwsX3dcpU2aGfsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719478965; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=OLaSi30cFbt6aY8Y8JUCmOVAlelGNPht93RJ2Mw+LeQ=; b=KVU9nHC7Ljux5hTo+hB5nuoOEBB2C7JtzeOhtdOt79Fb8qs5oAI/21z2Ta+p0ctO1TeX9/ cCU6+PWaymT4ngV4MqUD80UR9nw40q7rLjf6p5u49OtJnvUsU9lRyJ5DWGzDlun6UXxdT6 wgdbkX49t29NLFEzVF9DGM0TGUCPH1IXcGI4Vag+fQKuzub3mGJ23/mxJ5hN4WZXgJy5TI ulf8fddKlH3S0i/2RwXFlgm4hStM9Vxw6eH1ewVJWuvrdlFamKhmh2qXt038DBkNEaaMbx h4pgTYvtH+wVxdUQD5EacDRqsSLmeJP1GE3OBnPlgNPOQvaj9q4zuD5a42k6tQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W8sz92pMvz1L99; Thu, 27 Jun 2024 09:02:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45R92jvv027499; Thu, 27 Jun 2024 09:02:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45R92jYO027496; Thu, 27 Jun 2024 09:02:45 GMT (envelope-from git) Date: Thu, 27 Jun 2024 09:02:45 GMT Message-Id: <202406270902.45R92jYO027496@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Baptiste Daroussin Subject: git: e91fd8934231 - stable/14 - systat: fix build with newer ncurses 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=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bapt X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: e91fd89342310ec5f3af4206ee649d7b2e7de9f2 Auto-Submitted: auto-generated The branch stable/14 has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=e91fd89342310ec5f3af4206ee649d7b2e7de9f2 commit e91fd89342310ec5f3af4206ee649d7b2e7de9f2 Author: Baptiste Daroussin AuthorDate: 2024-06-20 13:10:38 +0000 Commit: Baptiste Daroussin CommitDate: 2024-06-27 09:01:24 +0000 systat: fix build with newer ncurses (cherry picked from commit 35e941ce5520b8ef710bb388bd63460aa0ce63eb) --- 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 6320dd21562d..b09a14bbf634 100644 --- a/usr.bin/systat/netcmds.c +++ b/usr.bin/systat/netcmds.c @@ -248,7 +248,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 928472dbfdc5..9be137700055 100644 --- a/usr.bin/systat/sctp.c +++ b/usr.bin/systat/sctp.c @@ -277,7 +277,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);