mirror of
https://github.com/apache/nuttx.git
synced 2026-08-16 01:43:15 +00:00
fs/procfs: Fix an error in a common function that manages read data.
This commit is contained in:
parent
9f80e4ccf1
commit
335d1e0030
1 changed files with 1 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ size_t procfs_memcpy(FAR const char *src, size_t srclen,
|
|||
/* Handle the remaining offset */
|
||||
|
||||
srclen -= lnoffset;
|
||||
dest += lnoffset;
|
||||
src += lnoffset;
|
||||
*offset = 0;
|
||||
|
||||
/* Copy the line into the user destination buffer */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue