mirror of
https://github.com/apache/nuttx.git
synced 2026-10-06 05:47:54 +00:00
Fix a warning
This commit is contained in:
parent
422769e859
commit
6a6a089af4
1 changed files with 1 additions and 2 deletions
|
|
@ -919,8 +919,7 @@ static ssize_t proc_groupfd(FAR struct proc_file_s *procfile,
|
||||||
totalsize = 0;
|
totalsize = 0;
|
||||||
|
|
||||||
#if CONFIG_NFILE_DESCRIPTORS > 0 /* Guaranteed to be true */
|
#if CONFIG_NFILE_DESCRIPTORS > 0 /* Guaranteed to be true */
|
||||||
linesize = snprintf(procfile->line, STATUS_LINELEN, "\n%3-s %-8s %s\n",
|
linesize = snprintf(procfile->line, STATUS_LINELEN, "\n%-3s %-8s %s\n",
|
||||||
"FD", "POS", "OFLAGS");
|
|
||||||
copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining, &offset);
|
copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining, &offset);
|
||||||
|
|
||||||
totalsize += copysize;
|
totalsize += copysize;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue