diff --git a/arch/arm/src/lc823450/lc823450_procfs_dvfs.c b/arch/arm/src/lc823450/lc823450_procfs_dvfs.c index b379b1bca6..bd3e5973c9 100644 --- a/arch/arm/src/lc823450/lc823450_procfs_dvfs.c +++ b/arch/arm/src/lc823450/lc823450_procfs_dvfs.c @@ -27,6 +27,7 @@ #include #include +#include #include #include #include @@ -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]);