examples/watchdog: Fix printf format warnings
This commit is contained in:
parent
ab86da4639
commit
fe5732494b
@ -298,7 +298,10 @@ int main(int argc, FAR char *argv[])
|
|||||||
goto errout_with_dev;
|
goto errout_with_dev;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("wdog_main: flags=%08x timeout=%d timeleft=%d\n",
|
printf("wdog_main:"
|
||||||
|
" flags=%08" PRIu32
|
||||||
|
" timeout=%" PRIu32
|
||||||
|
" timeleft=%" PRIu32 "\n",
|
||||||
status.flags, status.timeout, status.timeleft);
|
status.flags, status.timeout, status.timeleft);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -341,7 +344,10 @@ int main(int argc, FAR char *argv[])
|
|||||||
goto errout_with_dev;
|
goto errout_with_dev;
|
||||||
}
|
}
|
||||||
|
|
||||||
printf("wdog_main: flags=%08x timeout=%d timeleft=%d\n",
|
printf("wdog_main:"
|
||||||
|
" flags=%08" PRIu32
|
||||||
|
" timeout=%" PRIu32
|
||||||
|
" timeleft=%" PRIu32 "\n",
|
||||||
status.flags, status.timeout, status.timeleft);
|
status.flags, status.timeout, status.timeleft);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user