X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=memory.c;h=d075c3526e6947483eee23dd006aeeebe5830f02;hb=a2eea81b53fc1a71b91b20d82bcadffdd4ecb6cd;hp=f67dd6d9ffa09a61030fed8378f8ce9d2a523d15;hpb=b6f9676ef7077c9c6d60a9f63c3c1e3d44a625a1;p=fio.git 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; }