From nobody Thu Sep 14 08:57:07 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 4RmWR75kRCz4syyL; Thu, 14 Sep 2023 08:57:07 +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 4RmWR74yl8z4Sjs; Thu, 14 Sep 2023 08:57:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694681827; 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=ZnXuoGlvX+cEQcEx/NIb++qWwocQ1GItzqVlNCL/yF0=; b=ZW1LEB1iDldP9+V++vpBmGjk6ceXl8TqAwk3Mhj1qqpXgWvkwS8m3iKQ4xShF5oBfYmG29 orc6v3307P53ZBclRTz9zQqdaKdtc/7BCUwANPXYNsbL+7MXJ6IDToaOLf4VR4Y6I+8m/y zlDgdvx9FWJuDzlFlneY+EuHBWc/wEFPXi0yn2nf2E7tpbIljKzXmblWxBruYjgSqnQ2Tu lRkXBWyREAttq4jL0Qj1xj3zWUF6W1QXZC2k8TfZ1k9NpYW7ZOnpgXwgsUc9vrtoNMc7jd PYaWVOCxiapN5hyKQ1//9I744IEseT/CS+/riZZdGnRB7WGOXAcX0N2KPGwcTg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694681827; a=rsa-sha256; cv=none; b=cPf5F7kJ5sqz+VW9TGhP6m1Maz+/ENLfXVTNCFmdUMXVkZSbrc17SxINenX1dtP921yarZ QMVLWGO1bWnsBE2iaK3iE0CQzCBaqtJr9SLPm/VybxlSzvf9s58qJBGDoV3QWkDU9FCb/k lbsbDoRCY8+jnr9Jc6qHxGphA7drQbzRREpDEtSc73TOx5ep0lF8zSaSR8Qt9+Ixv0aGp4 pld7e/n4ekZLj44YXHxxMBgkz5a7Ph3AROUSCL7Id1hpw/XC0/pvFnE/WcRRZMZcY5Pqn0 3aDDlef64yLVzQuaukHWtKMV+phZmooSHOn99dMBG3F5tkgXH9mT/0sH+5FYBg== 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=1694681827; 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=ZnXuoGlvX+cEQcEx/NIb++qWwocQ1GItzqVlNCL/yF0=; b=x3lBr25iYkXGnYHrWOlx04/O3BNUKJFwKzWqwkq8q//7bfwv1Z26Xq7tKyqgStV2OcipPn EtXX1JLd2lGvHdGPrkZzFfVCECF3I/D21WNzkgy+gM4xvi1Cq0nEgfpY9p0AS+myjsCK6A bw2avPY+lWrsRo7QH2o/uvOeBP6bnQsDV/Iqs/DCjJK8cOhr7WOsE+nTUZXcPEH+Nb9i9s aAfGipgNnZqEVFkf6SqKH7/wdIUtY7iO27Wqhq4Kpptc2TY4c8bZM/TVKZhJkVNTxoDwvE zB/qD1BPXwVWJHAO3MGZ5wjOEyZwrMK85lfZFu0o/fkMZFjkbOL7ffPtGXPVig== 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 4RmWR7444szqg7; Thu, 14 Sep 2023 08:57:07 +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 38E8v737076613; Thu, 14 Sep 2023 08:57:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38E8v7SG076610; Thu, 14 Sep 2023 08:57:07 GMT (envelope-from git) Date: Thu, 14 Sep 2023 08:57:07 GMT Message-Id: <202309140857.38E8v7SG076610@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: 6bd2be4c4971 - stable/14 - 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/stable/14 X-Git-Reftype: branch X-Git-Commit: 6bd2be4c4971f58c51509ce8856bd5331f979e85 Auto-Submitted: auto-generated The branch stable/14 has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=6bd2be4c4971f58c51509ce8856bd5331f979e85 commit 6bd2be4c4971f58c51509ce8856bd5331f979e85 Author: Dag-Erling Smørgrav AuthorDate: 2023-09-10 18:33:18 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-09-14 08:56:45 +0000 mkfile: getopt() returns an int, not a char. MFC after: 3 days Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D41804 (cherry picked from commit ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62) --- 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) {