Skip to content

Commit 9f3ada3

Browse files
committed
Fix printing of contiguous_erase_size
1 parent c61445a commit 9f3ada3

File tree

1 file changed

+1
-1
lines changed
  • storage/blockdevice/tests/TESTS/blockdevice/general_block_device

1 file changed

+1
-1
lines changed

storage/blockdevice/tests/TESTS/blockdevice/general_block_device/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ void test_contiguous_erase_write_read()
546546

547547
bd_size_t contiguous_erase_size = stop_address - start_address;
548548
TEST_ASSERT(contiguous_erase_size > 0);
549-
utest_printf("contiguous_erase_size=%d\n", contiguous_erase_size);
549+
utest_printf("contiguous_erase_size=0x%" PRIx64 "\n", contiguous_erase_size);
550550

551551
bd_size_t write_read_buf_size = program_size;
552552
if (contiguous_erase_size / program_size > 8 && contiguous_erase_size % (program_size * 8) == 0) {

0 commit comments

Comments
 (0)