backend: fix comparison of 'ret' pointer
[fio.git] / backend.c
index d41c742b9edd070b48da42712bc86d4ab63bf9f8..dec0d55b0dbf3382cad2bfdfcfad9d4683d912a9 100644 (file)
--- a/backend.c
+++ b/backend.c
@@ -540,7 +540,7 @@ sync_done:
                        *ret = ret2;
                break;
        default:
-               assert(ret < 0);
+               assert(*ret < 0);
                td_verror(td, -(*ret), "td_io_queue");
                break;
        }