Skip to content

Commit 0740a5d

Browse files
GasoonjiaZonglin Peng
authored and
Zonglin Peng
committed
fix wrong error msg
Differential Revision: D70528853 Pull Request resolved: #8908
1 parent 4bebc49 commit 0740a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

devtools/etdump/etdump_flatcc.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ void ETDumpGen::set_debug_buffer(Span<uint8_t> buffer) {
503503
Result<BufferDataSink> bds_ret = BufferDataSink::create(buffer);
504504
ET_CHECK_MSG(
505505
bds_ret.ok(),
506-
"Failed to write tensor with error 0x%" PRIx32,
506+
"Failed to create data sink from debug buffer with error 0x%" PRIx32,
507507
static_cast<uint32_t>(bds_ret.error()));
508508

509509
buffer_data_sink_ = std::move(bds_ret.get());

0 commit comments

Comments
 (0)