mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-04 05:39:05 +00:00
examples/chrono/chrono_main.c: Fix a few printf format warnings
This commit is contained in:
parent
a0c7a719c4
commit
4f99572f65
1 changed files with 1 additions and 1 deletions
|
|
@ -442,7 +442,7 @@ int main(int argc, FAR char *argv[])
|
|||
|
||||
sec = sec % 60;
|
||||
|
||||
sprintf(str, "%02d:%02d:%01d", min, sec,
|
||||
sprintf(str, "%02ld:%02ld:%01ld", min, sec,
|
||||
(priv->ts_end.tv_nsec / 100000000));
|
||||
|
||||
/* Print it into LCD */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue