From: Davide Libenzi Date: Tue, 10 Apr 2007 20:29:29 +0000 (+0200) Subject: GUASI API change X-Git-Tag: fio-1.15.2~6 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=0798ba36674a7a244e8bc10877e322973a5ca938 GUASI API change There's been an API change in the latest GUASI library, and this fixes it inside FIO. Signed-off-by: Jens Axboe --- diff --git a/engines/guasi.c b/engines/guasi.c index 1d3c77f6..1b717be8 100644 --- a/engines/guasi.c +++ b/engines/guasi.c @@ -230,7 +230,7 @@ static int fio_guasi_init(struct thread_data *td) maxthr = td->o.iodepth > GFIO_MIN_THREADS ? td->o.iodepth: GFIO_MIN_THREADS; if (maxthr > GFIO_MAX_THREADS) maxthr = GFIO_MAX_THREADS; - if ((ld->hctx = guasi_create(GFIO_MIN_THREADS, maxthr, 1, 0)) == NULL) { + if ((ld->hctx = guasi_create(GFIO_MIN_THREADS, maxthr, 1)) == NULL) { td_verror(td, errno, "guasi_create"); free(ld); return 1;