summaryrefslogtreecommitdiff
path: root/usr.bin/cmp/special.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/cmp/special.c')
-rw-r--r--usr.bin/cmp/special.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.bin/cmp/special.c b/usr.bin/cmp/special.c
index a6f01dc9a03..3c389bd1c27 100644
--- a/usr.bin/cmp/special.c
+++ b/usr.bin/cmp/special.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: special.c,v 1.3 1999/08/03 16:02:44 mickey Exp $ */
+/* $OpenBSD: special.c,v 1.4 2001/07/12 05:16:58 deraadt Exp $ */
/* $NetBSD: special.c,v 1.2 1995/09/08 03:23:00 tls Exp $ */
/*-
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)special.c 8.3 (Berkeley) 4/2/94";
#else
-static char rcsid[] = "$OpenBSD: special.c,v 1.3 1999/08/03 16:02:44 mickey Exp $";
+static char rcsid[] = "$OpenBSD: special.c,v 1.4 2001/07/12 05:16:58 deraadt Exp $";
#endif
#endif /* not lint */
@@ -83,7 +83,8 @@ c_special(fd1, file1, skip1, fd2, file2, skip2)
if (ch1 != ch2) {
if (lflag) {
dfound = 1;
- (void)printf("%6qd %3o %3o\n", byte, ch1, ch2);
+ (void)printf("%6lld %3o %3o\n", (long long)byte,
+ ch1, ch2);
} else
diffmsg(file1, file2, byte, line);
/* NOTREACHED */