X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=engines%2Fsg.c;h=6272b79b568242239ae93cd028e919029b83c7b7;hb=e9353e191187bbe8d7f8d29454539af4b2c64008;hp=1a027daeb353fca972da13cf8796983024364463;hpb=3a35845f7756a8a86b420650bff41267192dce22;p=fio.git diff --git a/engines/sg.c b/engines/sg.c index 1a027dae..6272b79b 100644 --- a/engines/sg.c +++ b/engines/sg.c @@ -62,7 +62,8 @@ static int pollin_events(struct pollfd *pfds, int fds) } static int fio_sgio_getevents(struct thread_data *td, unsigned int min, - unsigned int max, struct timespec fio_unused *t) + unsigned int max, + const struct timespec fio_unused *t) { struct sgio_data *sd = td->io_ops->data; int left = max, ret, r = 0;