summaryrefslogtreecommitdiffstats
path: root/dma/ipe_benchmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'dma/ipe_benchmark.c')
-rw-r--r--dma/ipe_benchmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dma/ipe_benchmark.c b/dma/ipe_benchmark.c
index f8e0a7e..3ce04d3 100644
--- a/dma/ipe_benchmark.c
+++ b/dma/ipe_benchmark.c
@@ -166,7 +166,7 @@ double dma_ipe_benchmark(pcilib_dma_context_t *vctx, pcilib_dma_engine_addr_t dm
for (bytes = 0; bytes < size; bytes += rbytes) {
err = read_dma(ctx->dmactx.pcilib, 0, addr, size - bytes, PCILIB_DMA_FLAG_MULTIPACKET, PCILIB_DMA_TIMEOUT, buf + bytes, &rbytes);
if (err) {
- pcilib_error("Can't read data from DMA, error %i", err);
+ pcilib_error("Can't read data from DMA (iteration: %zu, offset: %zu), error %i", iter, bytes, err);
return -1;
}
}