Commit f4513c0e authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

parasite: Change 0 to NULL in sys_mmap call

First argument is void pointer
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent b39a9292
......@@ -45,7 +45,7 @@ static int brk_init(void)
/*
* Map 10 MB. Hope this will be enough for unix skb's...
*/
ret = sys_mmap(0, MAX_HEAP_SIZE,
ret = sys_mmap(NULL, MAX_HEAP_SIZE,
PROT_READ | PROT_WRITE,
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
if (ret < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment