aboutsummaryrefslogtreecommitdiff
path: root/common/nodes.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-10-29 20:10:09 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-10-29 20:10:09 +0300
commit6303dd9b55a1871387122525e456747eeb860932 (patch)
tree5ade67069f4b7f1e3d85e31c295da4f0b17c4141 /common/nodes.c
parente2631ad54db87b71943040dcb5a2fc0f4b850716 (diff)
downloadkmi-6303dd9b55a1871387122525e456747eeb860932.tar.gz
kmi-6303dd9b55a1871387122525e456747eeb860932.zip
rewrite pmem
Diffstat (limited to 'common/nodes.c')
-rw-r--r--common/nodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/nodes.c b/common/nodes.c
index 9cfd2a2..60dec79 100644
--- a/common/nodes.c
+++ b/common/nodes.c
@@ -57,7 +57,7 @@
*/
static struct node_region *__create_region()
{
- struct node_region *r = (struct node_region *)alloc_page(BASE_PAGE, 0);
+ struct node_region *r = (struct node_region *)alloc_page(BASE_PAGE);
memset(r, FREE, BASE_PAGE_SIZE);
return r;
}