Fix a warning

This commit is contained in:
David Sidrane 2016-04-27 00:19:00 -06:00 committed by Gregory Nutt
parent 422769e859
commit 6a6a089af4

View file

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