summaryrefslogtreecommitdiffstats
path: root/sbin/dump/tape.c
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2002-07-08 00:29:23 +0000
committeriedowse <iedowse@FreeBSD.org>2002-07-08 00:29:23 +0000
commit40ca2ecbc9f6ce1f972e08a815b371f861c6f3a4 (patch)
tree12211ae730177499e4d487794e91aba516fe3654 /sbin/dump/tape.c
parentd67ae5f23f51adbdba955a259dd097c0d690715b (diff)
downloadFreeBSD-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.c1
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)
OpenPOWER on IntegriCloud