Merge branch 'libaio/actual_min_algo_update' of https://github.com/dpronin/fio
[fio.git] / io_u.c
diff --git a/io_u.c b/io_u.c
index 6f5fc94d9a3e87bf68e3a5cdd2149579ac855720..faf512e53a39e6704764777e80f3f8da6a88517c 100644 (file)
--- a/io_u.c
+++ b/io_u.c
@@ -2379,7 +2379,7 @@ int do_io_u_sync(const struct thread_data *td, struct io_u *io_u)
        return ret;
 }
 
-int do_io_u_trim(const struct thread_data *td, struct io_u *io_u)
+int do_io_u_trim(struct thread_data *td, struct io_u *io_u)
 {
 #ifndef FIO_HAVE_TRIM
        io_u->error = EINVAL;