aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/tcopy/tcopy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcopy/tcopy.cc')
-rw-r--r--usr.bin/tcopy/tcopy.cc2
1 files changed, 1 insertions, 1 deletions
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();
}