X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=memory.c;h=d075c3526e6947483eee23dd006aeeebe5830f02;hp=f67dd6d9ffa09a61030fed8378f8ce9d2a523d15;hb=6b3eccb158d1f4cebc2924fc6abf84c1bf59d002;hpb=b6f9676ef7077c9c6d60a9f63c3c1e3d44a625a1 diff --git a/memory.c b/memory.c index f67dd6d9..d075c352 100644 --- a/memory.c +++ b/memory.c @@ -145,6 +145,9 @@ int allocate_io_mem(struct thread_data *td) ret = 1; } + if (ret) + td_verror(td, ENOMEM, "iomem allocation"); + return ret; }