diff options
author | phk <phk@FreeBSD.org> | 2000-05-15 08:43:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-05-15 08:43:25 +0000 |
commit | f2836e8cf791f4b8f244167dd4022f57c4ab31eb (patch) | |
tree | d24f92544466af91363d32878642c6c2547433b1 /usr.bin/cmp | |
parent | e10535fbc8ffd8e6c06caa019e617213acf0af7d (diff) | |
download | FreeBSD-src-f2836e8cf791f4b8f244167dd4022f57c4ab31eb.zip FreeBSD-src-f2836e8cf791f4b8f244167dd4022f57c4ab31eb.tar.gz |
Oops, byte offset was as off_t.
Diffstat (limited to 'usr.bin/cmp')
-rw-r--r-- | usr.bin/cmp/regular.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/cmp/regular.c b/usr.bin/cmp/regular.c index feb5ba2..a0ed182 100644 --- a/usr.bin/cmp/regular.c +++ b/usr.bin/cmp/regular.c @@ -101,7 +101,7 @@ c_regular(fd1, file1, skip1, len1, fd2, file2, skip2, len2) if ((ch = *p1) != *p2) { if (xflag) { dfound = 1; - (void)printf("%08x %02x %02x\n", byte - 1, ch, *p2); + (void)printf("%08qx %02x %02x\n", byte - 1, ch, *p2); } else if (lflag) { dfound = 1; (void)printf("%6qd %3o %3o\n", byte, ch, *p2); |