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

memfd: Fix typos in memfd tests

I manage to miss source refresh. Sorry.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@virtuozzo.com>
parent d54e7bbf
......@@ -404,6 +404,7 @@ static bool kerndat_has_memfd_create(void)
static bool kerndat_has_memfd_create(void)
{
kdat.has_memfd = false;
return 0;
}
#endif
......
......@@ -102,6 +102,8 @@ int main(void)
{
#ifdef __NR_memfd_create
return 0;
#else
#error No memfd support
#endif
}
......
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