Skip to content

Commit 76d2f0a

Browse files
committed
fix compile error
1 parent 603b654 commit 76d2f0a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/io/engine.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,8 @@ void IOEngine::BatchRead(const MemDescVec& localDest, const BatchSizeVec& localO
213213
backend->BatchRead(localDest[i], localOffsets[i], remoteSrc[i], remoteOffsets[i], sizes[i],
214214
status[i], ids[i]);
215215
if (status[i]->Failed()) {
216-
MORI_IO_ERROR("Engine batch read error {} message {}", status->CodeUint32(),
217-
status->Message());
216+
MORI_IO_ERROR("Engine batch read error {} message {}", status[i]->CodeUint32(),
217+
status[i]->Message());
218218
}
219219
}
220220
}
@@ -237,9 +237,9 @@ void IOEngine::BatchWrite(const MemDescVec& localSrc, const BatchSizeVec& localO
237237
SELECT_BACKEND_AND_RETURN_IF_NONE(localSrc[i], remoteDest[i], status[i], backend);
238238
backend->BatchWrite(localSrc[i], localOffsets[i], remoteDest[i], remoteOffsets[i], sizes[i],
239239
status[i], ids[i]);
240-
if (status->Failed()) {
241-
MORI_IO_ERROR("Engine batch write error {} message {}", status->CodeUint32(),
242-
status->Message());
240+
if (status[i]->Failed()) {
241+
MORI_IO_ERROR("Engine batch write error {} message {}", status[i]->CodeUint32(),
242+
status[i]->Message());
243243
}
244244
}
245245
}

0 commit comments

Comments
 (0)