diff options
-rw-r--r-- | usr.bin/tcopy/Makefile | 2 | ||||
-rw-r--r-- | usr.bin/tcopy/tcopy.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tcopy/Makefile b/usr.bin/tcopy/Makefile index 5a42f6d..8a6fc55 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 <bsd.prog.mk> diff --git a/usr.bin/tcopy/tcopy.c b/usr.bin/tcopy/tcopy.c index 35848c0..a3a3819 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); } |