summaryrefslogtreecommitdiffstats
path: root/usr.bin/tcopy/tcopy.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tcopy/tcopy.c')
-rw-r--r--usr.bin/tcopy/tcopy.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tcopy/tcopy.c b/usr.bin/tcopy/tcopy.c
index b004868..3b9ffdd81a 100644
--- a/usr.bin/tcopy/tcopy.c
+++ b/usr.bin/tcopy/tcopy.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)tcopy.c 8.2 (Berkeley) 4/17/94";
#endif
static const char rcsid[] =
- "$Id: tcopy.c,v 1.4 1997/08/14 06:41:00 charnier Exp $";
+ "$Id: tcopy.c,v 1.5 1999/04/30 13:13:32 phk Exp $";
#endif /* not lint */
#include <sys/types.h>
@@ -282,11 +282,12 @@ void
intr(signo)
int signo;
{
- if (record)
+ if (record) {
if (record - lastrec > 1)
fprintf(msg, "records %qu to %qu\n", lastrec, record);
else
fprintf(msg, "record %qu\n", lastrec);
+ }
fprintf(msg, "interrupt at file %d: record %qu\n", filen, record);
fprintf(msg, "total length: %ld bytes\n", tsize + size);
exit(1);
OpenPOWER on IntegriCloud