From nobody Sun Sep 10 18:34:22 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 4RkJR31NFlz4sPms; Sun, 10 Sep 2023 18:34:23 +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 4RkJR30kH7z4lrM; Sun, 10 Sep 2023 18:34:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694370863; 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=KbtUPoZi+xFgkavbG100BStgCx9h30Y/Sym+E/shylM=; b=t3Fz88m0ZozqlYmkeBXRWnsZXs75L1vYJKF2i5q0EfreX+AoQ61YVOUaMMAL5QIoZbGQW0 Fea6yIdoCVsaxrWxnCIvNYNBT7frlU5kDxwaDc3Lo69eedp9iwRqH7gtfZnTm2bkhP7Nqw 1OpmD3YyWDQUeiz7+g/gO7GqwvxiQwx0aFC7tCkq6lfN9QJLK88WuKeGYs+t2d/y5gNcQp htkwE5JXczywpDil3/cn1w7rR2MLo9QjKCbF4SXjitHA/3n+BWl5Pg9S7xfkBC37kP341c cH9DUqbH9Hcd3pDwKiFAGNLYk1RAg/jCYyoUrJxuX9VAw05Do4Ds6+EYPiRRkg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694370863; a=rsa-sha256; cv=none; b=fvK1/EAYfv0c4pnd/JfHikDEU2fMHF2ErLHGcsZ2bLsmcUAphKKFlRBwy0rrlMcADKOV6T JHi/Yj9+tcC2HRGSZklkh11DbmrUOtEi795xTcTDXmju+QnrxwbOb9yeX/cLsbGzRZBiQL KVZ5br7AzFS+pEqSscu9DU6ws8OYD2bGMkllC+/s9V6m6FaUT1dc57Tgr3RN9xn4RPCI/P FNPGg46zyYjQLn69d5a9O7tffT1LrZx8F5HnkpXuZlNXv9crutPkOt4EtYhfNjkA42S6k7 rc8S5mrV8adHfIjUllKsXN/B0b76EBt07Wu9VS35hSl0dshzOcBUhExcopZd9g== 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=1694370863; 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=KbtUPoZi+xFgkavbG100BStgCx9h30Y/Sym+E/shylM=; b=G2weYR/bPMzq9e5jaGpQfGSxuaNO1fGOBdaeLZohBBOfpoboAB14hJsuql1fdjLjIt14m0 NZbY3tBy+s85VBNFbHzIrTwExN1NS/JErrvtCjOsNGBpMX1GhanaWbOsCwtHr6pxfieMW2 Jj1bSzO/ArhPsQ4IZEEoF7xyq98KKbXnslRycd1mrkVdHRfhdufMK7UwOzQQ0bl54Dsys1 pdLCVo2MEz1o6RQWGcdm6zX54FpR5c2BOo9awkofhcCqMPZ0uV9+lJjMpwURBwx/yyZ/11 jM+FtcbiBm/6Yic66gdg1uwGE9wLxfS72Cdd4zNuu6Ro2exhqkDwKJI0EU3izw== 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 4RkJR26vHsz31p; Sun, 10 Sep 2023 18:34:22 +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 38AIYMcU059244; Sun, 10 Sep 2023 18:34:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 38AIYMZ6059241; Sun, 10 Sep 2023 18:34:22 GMT (envelope-from git) Date: Sun, 10 Sep 2023 18:34:22 GMT Message-Id: <202309101834.38AIYMZ6059241@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?= Subject: git: ef8abddf103d - main - 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/main X-Git-Reftype: branch X-Git-Commit: ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62 Auto-Submitted: auto-generated The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62 commit ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62 Author: Dag-Erling Smørgrav AuthorDate: 2023-09-10 18:33:18 +0000 Commit: Dag-Erling Smørgrav CommitDate: 2023-09-10 18:33:32 +0000 mkfile: getopt() returns an int, not a char. MFC after: 3 days Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D41804 --- 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) {