diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1998-06-30 20:14:13 +0000 |
| commit | 2512f2fe3b8986d705644f67b757eb4a386a158e (patch) | |
| tree | e9161fc82a6530f0db1e4ecfbf3b8ac5bc616cb1 /gnu/usr.bin/tar/diffarch.c | |
| parent | c15a5b80be7f54bb75ffcd2ade727b1105f0c71a (diff) | |
Notes
Diffstat (limited to 'gnu/usr.bin/tar/diffarch.c')
| -rw-r--r-- | gnu/usr.bin/tar/diffarch.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/usr.bin/tar/diffarch.c b/gnu/usr.bin/tar/diffarch.c index ce47d9d6cab5b..80e48bccaad27 100644 --- a/gnu/usr.bin/tar/diffarch.c +++ b/gnu/usr.bin/tar/diffarch.c @@ -442,7 +442,8 @@ compare_chunk (bytes, buffer) } else { - fprintf (msg_file, "%s: could only read %d of %d bytes\n", current_file_name, err, bytes); + fprintf (msg_file, "%s: could only read %d of %ld bytes\n", + current_file_name, err, bytes); } different++; return -1; @@ -619,7 +620,7 @@ diff_sparse_files (filesize) if (err < 0) msg_perror ("can't read %s", current_file_name); else - fprintf (msg_file, "%s: could only read %d of %d bytes\n", + fprintf (msg_file, "%s: could only read %d of %ld bytes\n", current_file_name, err, numbytes); break; } @@ -638,7 +639,7 @@ diff_sparse_files (filesize) if (err < 0) msg_perror ("can't read %s", current_file_name); else - fprintf (msg_file, "%s: could only read %d of %d bytes\n", + fprintf (msg_file, "%s: could only read %d of %ld bytes\n", current_file_name, err, numbytes); break; } |
