git: ef8abddf103d - main - mkfile: getopt() returns an int, not a char.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Sep 2023 18:34:22 UTC
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/src/commit/?id=ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62 commit ef8abddf103d9dfd5660d50d15e6dbfbb2f47f62 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2023-09-10 18:33:18 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> 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) {