arch/arm/src/lc823450/lc823450_procfs_dvfs.c: Fix printf format warnings
This commit is contained in:
parent
1373f476fb
commit
c3d87ed46c
@ -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…
Reference in New Issue
Block a user