diff --git a/fs/procfs/fs_procfsiobinfo.c b/fs/procfs/fs_procfsiobinfo.c index 44e7486a08..72fe6977e7 100644 --- a/fs/procfs/fs_procfsiobinfo.c +++ b/fs/procfs/fs_procfsiobinfo.c @@ -294,7 +294,7 @@ static ssize_t iobinfo_read(FAR struct file *filep, FAR char *buffer, /* The first line is the headers */ linesize = snprintf(iobfile->line, IOBINFO_LINELEN, - " TOTAL TOTAL\n"); + " TOTAL TOTAL\n"); copysize = procfs_memcpy(iobfile->line, linesize, buffer, buflen, &offset); @@ -306,7 +306,8 @@ static ssize_t iobinfo_read(FAR struct file *filep, FAR char *buffer, buflen -= copysize; linesize = snprintf(iobfile->line, IOBINFO_LINELEN, - " USER CONSUMED PRODUCED\n"); + " USER CONSUMED " + "PRODUCED\n"); copysize = procfs_memcpy(iobfile->line, linesize, buffer, buflen, &offset);