Re: Wee nit in backend.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/04/2015 01:18 PM, Andrey Kuzmin wrote:
diff --git a/backend.c b/backend.c
index 80bd361..fec423e 100644
--- a/backend.c
+++ b/backend.c
@@ -539,7 +539,7 @@ sync_done:
                         *ret = ret2;
                 break;
         default:
-               assert(ret < 0);
+               assert(*ret < 0);
                 td_verror(td, -(*ret), "td_io_queue");
                 break;
         }

Good catch, that was broken by e9d512d8e7d2.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux