The branch main has been updated by phk: URL: https://cgit.FreeBSD.org/src/commit/?id=6582915c59e8a974d65fafc25c39ec2713a02d28
commit 6582915c59e8a974d65fafc25c39ec2713a02d28 Author: Poul-Henning Kamp <p...@freebsd.org> AuthorDate: 2025-08-17 19:38:56 +0000 Commit: Poul-Henning Kamp <p...@freebsd.org> CommitDate: 2025-08-17 19:38:56 +0000 tcopy: Fix braino. Spotted by: Gunther Nikl --- usr.bin/tcopy/tcopy.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/tcopy/tcopy.cc b/usr.bin/tcopy/tcopy.cc index 891c37f871e5..37a146376c2e 100644 --- a/usr.bin/tcopy/tcopy.cc +++ b/usr.bin/tcopy/tcopy.cc @@ -738,7 +738,7 @@ main(int argc, char *argv[]) warnx("illegal block size"); usage(); } - if (maxblk <= 0) { + if (tmp <= 0) { warnx("illegal block size"); usage(); }