mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-02 12:49:03 +00:00
fstest: Fix printf format error
This commit is contained in:
parent
bf71741452
commit
640fd2e860
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/****************************************************************************
|
||||
* testing/fstest/fstest_main.c
|
||||
* apps/testing/fstest/fstest_main.c
|
||||
*
|
||||
* Licensed to the Apache Software Foundation (ASF) under one or more
|
||||
* contributor license agreements. See the NOTICE file distributed with
|
||||
|
|
@ -620,7 +620,7 @@ static inline int fstest_rdfile(FAR struct fstest_filedesc_s *file)
|
|||
crc = crc32(g_fileimage, file->len);
|
||||
if (crc != file->crc)
|
||||
{
|
||||
printf("ERROR: Bad CRC: %d vs %d\n", crc, file->crc);
|
||||
printf("ERROR: Bad CRC: %" PRId32 " vs %" PRId32 "\n", crc, file->crc);
|
||||
printf(" File name: %s\n", file->name);
|
||||
printf(" File size: %zd\n", file->len);
|
||||
close(fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue