fs/procfs/fs_procfsiobinfo.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 15:46:09 +09:00 committed by Xiang Xiao
parent ba34213222
commit 711371a855
1 changed files with 3 additions and 2 deletions

View File

@ -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);