diff --git a/usr.bin/tcopy/Makefile b/usr.bin/tcopy/Makefile index 5a42f6db77bd..8a6fc55ec454 100644 --- a/usr.bin/tcopy/Makefile +++ b/usr.bin/tcopy/Makefile @@ -1,5 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/6/93 +# $FreeBSD$ PROG= tcopy +NO_WERROR=yes .include diff --git a/usr.bin/tcopy/tcopy.c b/usr.bin/tcopy/tcopy.c index 35848c034cdc..a3a3819a8682 100644 --- a/usr.bin/tcopy/tcopy.c +++ b/usr.bin/tcopy/tcopy.c @@ -290,7 +290,7 @@ intr(signo) fprintf(msg, "record %qu\n", lastrec); } fprintf(msg, "interrupt at file %d: record %qu\n", filen, record); - fprintf(msg, "total length: %lld bytes\n", (intmax_t)(tsize + size)); + fprintf(msg, "total length: %ju bytes\n", (uintmax_t)(tsize + size)); exit(1); }