X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Ffio-engine-splice.c;h=cb39b7225946fc55b618b8b65cf0bef8d2500de0;hp=4f5b86cd220c182a84ae39fbd38bf49cd795bc2d;hb=7a16dd027f83d7ff8ff0e72bb6bb12fae046fcbf;hpb=53cdc6864f7471b28cc9b40a5314ab43e5b1cb5e diff --git a/engines/fio-engine-splice.c b/engines/fio-engine-splice.c index 4f5b86cd..cb39b722 100644 --- a/engines/fio-engine-splice.c +++ b/engines/fio-engine-splice.c @@ -16,7 +16,8 @@ struct spliceio_data { int pipe[2]; }; -static int fio_spliceio_sync(struct thread_data *td, struct fio_file *f) +static int fio_spliceio_sync(struct thread_data fio_unused *td, + struct fio_file *f) { return fsync(f->fd); }