From nobody Thu Jun 20 13:12:38 2024 X-Original-To: dev-commits-src-main@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 4W4grk5y7cz5Nm0m; Thu, 20 Jun 2024 13:12:38 +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 4W4grk39mDz4TMw; Thu, 20 Jun 2024 13:12:38 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718889158; 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=DvReoF2hLv6VOv1VHTNUZzuQgMi6UMuncmiq7yjneic=; b=eBuM8lhlXBm2rz/rer6uTFBq3MI7FBIKgnjKP6EJkhB+/UpzEpDiZVcfGz54lr6+gLMmKZ +lJXutNPp6LMwwA/+9lWKwjnFzDU81KzmR4T+38x8iyW8egoyzvGMimj3Z/JbvnliauFNO pEPN5jFx3U9ajOcfshOseMs0Ntcu7cK/TUISvDCrifXL+mkVMftfHBuVwXsDQC6YhZtrUP goWEcirU7vnKF83X+9NKxrpGfLXZtdwEiKmR6B6lTVxn9BaLdtzvP45t+WPjntwRB0qXr7 ylmec6dqhljyNt6UlvWHytQBvHbzuhVtJgXPUGb+0LP6FBkvcbhgova6CHjsVA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718889158; a=rsa-sha256; cv=none; b=jOxlSrpNA0JXDC6zgpxYqEFYSsavjlCLmke+6nFkIcbR2xJaLBtqYuovHGLkrfyJqxxn5l ki8ARSyKrxkGtvTywoBfbhyimQiQGDkRgCBfbOvferGp9LmKFNEaYiuy7mkUnhZIojE0Qn v7aQ/34EQ0J/GpcwACLCiIXCTEfPhft3MkeyExdElPHnwLvvoLFfnGx6No8GCPPl4ia5mD vMQD7aMqQ21cvPkwOMxA3kV2rc1mL60rbG6za9QCN/3xpxjtqK4FwTXC6HO9eII2iiFaUv fvoRlJhG4GYLgMcSn8aiJE0amn9AnZWV7Z7wJ06gxA0dw9dBErSHwYSCw9O4IA== 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=1718889158; 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=DvReoF2hLv6VOv1VHTNUZzuQgMi6UMuncmiq7yjneic=; b=qolXyG9TLZ/jg/EJoriRUbzJ5PhjqO9WHlKkSexSDIA38ZTtTVLjqRr/NfJMvj3imahj7S BY7wFxQgiB4c/B2a5Nq3ykKfKIObF7e4K1laXh2NHZHaeZ47VSmRVc/3Aqd9ZHzOtc9azd IOEIgIHSD5SpIeE+FNHLcP0K9HPu5dFnNG+kdPqPZmQvjBXVjG9DyW8LpRsquwS/7R0WG1 RNDhn56NSewU8GWMwuO2QAntiv7cr5rDeiE6u0ckOM3uV9M2xgWS9JEaMPcxVR0E6PH3Xw ve5/PSvEIsiBe1ctcOSEmufI2TaovG8uEWM1Qzm1yUzVCWy7fP+ViHpBYV3MTA== 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 4W4grk2p37zQnn; Thu, 20 Jun 2024 13:12:38 +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 45KDCcHE092293; Thu, 20 Jun 2024 13:12:38 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45KDCcFk092290; Thu, 20 Jun 2024 13:12:38 GMT (envelope-from git) Date: Thu, 20 Jun 2024 13:12:38 GMT Message-Id: <202406201312.45KDCcFk092290@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Baptiste Daroussin Subject: git: 35e941ce5520 - main - systat: fix build with newer ncurses List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: 35e941ce5520b8ef710bb388bd63460aa0ce63eb Auto-Submitted: auto-generated The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/src/commit/?id=35e941ce5520b8ef710bb388bd63460aa0ce63eb 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);