string: add return value to memcpy_user
Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
parent
ef8056ccd7
commit
c8e0148753
1 changed files with 2 additions and 0 deletions
|
|
@ -259,4 +259,6 @@ void *memcpy_user(struct proc *proc, void *dest, const void *src, size_t num)
|
|||
|
||||
if (pgd != proc->pgd)
|
||||
pgd_load(pgd);
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue