From nobody Thu Sep 14 15:00:20 2023 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 4RmgVD4T2Mz4sZyt; Thu, 14 Sep 2023 15:00:20 +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 4RmgVD3v1yz4VMG; Thu, 14 Sep 2023 15:00:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694703620; 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=iOOMyuj1yp5VLIWXvqoo0tre2TB72Pw8btw7K1anpAo=; b=CvnbViUwuNPS5m9k1I3VwPX/gKoq6lrXflt2vsMZuvIG259NDuO/jHbfMUezJmezprSHg8 3ZrFTM+JiOYP6iEiair7sfV9QRxaOGrg75OgupvxkehwVw7x2bCcuwyCnqaKpCEuyn2XaP jVN8rxhVTeEqT1WHsmsVNYBepkWwyNJhYGl/0bca/jYZy/TP8/Z7+KCpbQAlhgL5I+T4X4 Er/S1IcuAW57SklIlOTsICDMkgIV1SitR3AB9WzXSikYH+37Z0MxvdL6tyeHDjUBX+M6Kq GJUow1lv7jipCtnm6sevORiCsacJ/0XkOsBP1/qTbWdOX6YOOHWiezksvskBAQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694703620; a=rsa-sha256; cv=none; b=q2tFehuLjtKp54qhKuS6P7JTs28dTiPtQdQ97JmrGsfU0CLIQCW6JZS6kHwUpgOYGVrIsY zhNvw+HXqDrGpewuFCSrpUy7Z78PmoU0N+akINbrEwzf6n98QA/HgIy2A8Y3QpuNqkDYUQ h13PFwAig9PRt824rUWk9LbXvDva2BdZQ4tAMTd2x1qnuHPgnTVxuUof9GXYyf41oScKdJ HdZA94ZVN7l4TfEj3w/O0TfjUyy/iXq8CFc8zwGpgo2htRZ5v3QkQE4v9u88i7GHfiLy/c NC459amTzi050UiK/7qoHeNpdQje7ixkI9nlzsLvE2llKxp8uqmCmnUccbEzfQ== 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=1694703620; 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=iOOMyuj1yp5VLIWXvqoo0tre2TB72Pw8btw7K1anpAo=; b=lcR64YgfKdWMOffH8fjnQ24x4OiedySwTIImP513SV45J/XcSQ9EqAYXWlH5WLKy/8dBto wjE/y72FP+6kFnUwTon3coc7ZVMSTtobB7sWdR/Sx5ZqFMSKaTgFiikQXjWQS3gBhc8p2A tysltpqNoGMBU3HMwkxdg+krjze+XifJf8kct3HIBvGsN2rP69zjNc3NM3iPkzltcTzsPb u//Z4p7/Cz87naay1CplMdeJm/XD0Mkwn7SUB21nxMBERXajmzd0mjVevrUydCPOnyIvIT t8Juegbs0YwDkuRColgEU4p7P59RJmA6/2qIcMHX+DZoO45fz1PA/hYMyWLFuw== 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 4RmgVD2vfsz11Yv; Thu, 14 Sep 2023 15:00:20 +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 38EF0KnB088992; Thu, 14 Sep 2023 15:00:20 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38EF0KGP088989; Thu, 14 Sep 2023 15:00:20 GMT (envelope-from git) Date: Thu, 14 Sep 2023 15:00:20 GMT Message-Id: <202309141500.38EF0KGP088989@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: 89872424863c - releng/14.0 - mkfile: getopt() returns an int, not a char. 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: des X-Git-Repository: src X-Git-Refname: refs/heads/releng/14.0 X-Git-Reftype: branch X-Git-Commit: 89872424863c412f506e5df4adc30c96323fd432 Auto-Submitted: auto-generated The branch releng/14.0 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=89872424863c412f506e5df4adc30c96323fd432 commit 89872424863c412f506e5df4adc30c96323fd432 Author: Dag-Erling Smørgrav AuthorDate: 2023-09-10 18:33:18 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-09-14 08:59:50 +0000 mkfile: getopt() returns an int, not a char. MFC after: 3 days Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D41804 Approved by: re (delphij) (cherry picked from commit ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62) (cherry picked from commit 6bd2be4c4971f58c51509ce8856bd5331f979e85) --- tests/sys/cddl/zfs/bin/mkfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/sys/cddl/zfs/bin/mkfile.c b/tests/sys/cddl/zfs/bin/mkfile.c index b1034b9ca500..c1afdbd61196 100644 --- a/tests/sys/cddl/zfs/bin/mkfile.c +++ b/tests/sys/cddl/zfs/bin/mkfile.c @@ -168,7 +168,7 @@ int main(int argc, char *argv[]) { unsigned long long fsize; - char ch; + int ch; /* We have at least 2 arguments. */ if (argc < 3) {