mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-10 18:56:33 +00:00
examples/mtdrwb/mtdrwb_main.c: Fix a printf format warning
This commit is contained in:
parent
3993e99471
commit
54cb3ca933
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ int main(int argc, FAR char *argv[])
|
|||
nbytes = read(fd, buffer, geo.blocksize);
|
||||
if (nbytes != 0)
|
||||
{
|
||||
printf("ERROR: Expected end-of-file from /dev/mtd0 failed: %d %d\n",
|
||||
printf("ERROR: Expected end-of-file from /dev/mtd0 failed: %zd %d\n",
|
||||
nbytes, errno);
|
||||
fflush(stdout);
|
||||
exit(20);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue