Fixed printf format strings.

This commit is contained in:
Sascha L. Teichmann 2014-08-24 18:50:16 +02:00
parent 5852766464
commit 82be84d449

View File

@ -64,10 +64,10 @@ func copyProducerToConsumer(producer BlockProducer, consumer BlockConsumer) (err
}
i++
if i%1000 == 0 {
log.Printf("%i blocks transferred.\n", i)
log.Printf("%d blocks transferred.\n", i)
}
}
log.Printf("%i blocks transferred in total.\n", i)
log.Printf("%d blocks transferred in total.\n", i)
return
}