Skip to content
Snippets Groups Projects
Commit 335d1e00 authored by Gregory Nutt's avatar Gregory Nutt
Browse files

fs/procfs: Fix an error in a common function that manages read data.

parent 9f80e4cc
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment