examples/mtdrwb/mtdrwb_main.c: Fix a printf format warning
This commit is contained in:
parent
3993e99471
commit
54cb3ca933
@ -375,7 +375,7 @@ int main(int argc, FAR char *argv[])
|
|||||||
nbytes = read(fd, buffer, geo.blocksize);
|
nbytes = read(fd, buffer, geo.blocksize);
|
||||||
if (nbytes != 0)
|
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);
|
nbytes, errno);
|
||||||
fflush(stdout);
|
fflush(stdout);
|
||||||
exit(20);
|
exit(20);
|
||||||
|
Loading…
Reference in New Issue
Block a user