mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-10-01 01:35:54 -04:00
14 lines
401 B
Diff
14 lines
401 B
Diff
diff --git a/kernel/sys.c b/kernel/sys.c
|
|
index f7e7a8b..800c5f2 100644
|
|
--- a/kernel/sys.c
|
|
+++ b/kernel/sys.c
|
|
@@ -1934,7 +1934,7 @@
|
|
tmp = end;
|
|
|
|
/* Here vma->vm_start <= start < tmp <= (end|vma->vm_end). */
|
|
- error = prctl_update_vma_anon_name(vma, &prev, start, end,
|
|
+ error = prctl_update_vma_anon_name(vma, &prev, start, tmp,
|
|
(const char __user *)arg);
|
|
if (error)
|
|
return error;
|