You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/16 13:47:35 UTC
[incubator-nuttx] 30/35: fs/procfs/fs_procfsiobinfo.c: Appease
nxstyle
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit 711371a855a36525efc275504336bc2cec8aac2f
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Nov 13 15:46:09 2020 +0900
fs/procfs/fs_procfsiobinfo.c: Appease nxstyle
---
fs/procfs/fs_procfsiobinfo.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fs/procfs/fs_procfsiobinfo.c b/fs/procfs/fs_procfsiobinfo.c
index 44e7486..72fe697 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);