mirror of
https://github.com/apache/nuttx.git
synced 2026-08-14 00:43:13 +00:00
arch/arm/src/lc823450/lc823450_procfs_dvfs.c: Fix printf format warnings
This commit is contained in:
parent
1373f476fb
commit
c3d87ed46c
1 changed files with 2 additions and 1 deletions
|
|
@ -27,6 +27,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdio.h>
|
||||
|
|
@ -234,7 +235,7 @@ static ssize_t dvfs_read(FAR struct file *filep, FAR char *buffer,
|
|||
|
||||
linesize = snprintf(priv->line,
|
||||
DVFS_LINELEN,
|
||||
"fstat %d %d %d \n",
|
||||
"fstat %" PRId32 " %" PRId32 " %" PRId32 " \n",
|
||||
g_dvfs_freq_stat[0],
|
||||
g_dvfs_freq_stat[1],
|
||||
g_dvfs_freq_stat[2]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue