fs_procfsproc.c edited online with Bitbucket. Fix problem introduced in last patch

This commit is contained in:
Gregory Nutt 2016-04-28 08:04:38 +00:00
parent 48f66c15c1
commit ecba6ad0db

View File

@ -920,6 +920,7 @@ static ssize_t proc_groupfd(FAR struct proc_file_s *procfile,
#if CONFIG_NFILE_DESCRIPTORS > 0 /* Guaranteed to be true */
linesize = snprintf(procfile->line, STATUS_LINELEN, "\n%-3s %-8s %s\n",
"FD", "POS", "OFLAGS");
copysize = procfs_memcpy(procfile->line, linesize, buffer, remaining, &offset);
totalsize += copysize;