diff options
author | iedowse <iedowse@FreeBSD.org> | 2002-07-08 00:29:23 +0000 |
---|---|---|
committer | iedowse <iedowse@FreeBSD.org> | 2002-07-08 00:29:23 +0000 |
commit | 40ca2ecbc9f6ce1f972e08a815b371f861c6f3a4 (patch) | |
tree | 12211ae730177499e4d487794e91aba516fe3654 /sbin/dump/tape.c | |
parent | d67ae5f23f51adbdba955a259dd097c0d690715b (diff) | |
download | FreeBSD-src-40ca2ecbc9f6ce1f972e08a815b371f861c6f3a4.zip FreeBSD-src-40ca2ecbc9f6ce1f972e08a815b371f861c6f3a4.tar.gz |
Replace the use of %qd with intmax_t/%jd and fix a number of -Wall
and -Wformat warnings:
o Include timeconv.h for the time conversion functions.
o Remove unused variables.
o Correct a few cases where %d was used when printing longs.
Diffstat (limited to 'sbin/dump/tape.c')
-rw-r--r-- | sbin/dump/tape.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index 1665e76..aa65b47 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -781,6 +781,7 @@ doslave(int cmd, int slave_number) eot_count = 0; size = 0; + wrote = 0; while (eot_count < 10 && size < writesize) { #ifdef RDUMP if (host) |